From 951d5f301dc202ce8aa0fcaa3e938292f1c5fd59 Mon Sep 17 00:00:00 2001 From: Thomas Roehr Date: Wed, 19 Dec 2018 15:46:17 +0100 Subject: [PATCH] Make sure that make_options contain useful input An encountered error case was make_options = "''" --- 04stable.autobuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/04stable.autobuild b/04stable.autobuild index 8b7649c8..cf8b0875 100644 --- a/04stable.autobuild +++ b/04stable.autobuild @@ -143,7 +143,13 @@ in_flavor 'master', 'stable' do Autobuild.invoke_make_parallel(self) do |*make_options| make_options = make_options. map { |opt| opt.gsub(',', ';') } - test_target = "setup:orogen_all[1,#{Autobuild::Orogen.transports.join(" ")},'#{make_options.join("' '")}']" + test_options = [1] + test_options << Autobuild::Orogen.transports.join(" ") + make_options = make_options.join("' '") + if make_options =~ /[a-zA-Z0-9]/ + test_options << make_options + end + test_target = "setup:orogen_all[#{test_options.join(',')}]" super(test_target) end end