tac-cli 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cli/commands/test_suite_management.rb +8 -4
- data/lib/cli/version.rb +1 -1
- metadata +1 -1
@@ -96,16 +96,20 @@ module CTT::Cli::Command
|
|
96
96
|
# dependency should be successful before run testing command
|
97
97
|
say("preparing test suite: #{@suite}...")
|
98
98
|
dependencies.each do |d|
|
99
|
-
`#{d}`
|
100
|
-
|
99
|
+
output = `#{d}`
|
100
|
+
unless $? == 0
|
101
|
+
say(output)
|
102
|
+
say("fail to execute dependency command: #{d}. abort!", :red)
|
103
|
+
exit(1)
|
104
|
+
end
|
101
105
|
end
|
102
106
|
|
103
107
|
say("\nrun command: #{yellow(command)}")
|
104
108
|
system(command)
|
105
109
|
end
|
106
|
-
Dir.chdir(pwd)
|
107
|
-
threads.each { |t| t.join }
|
108
110
|
|
111
|
+
threads.each { |t| t.join }
|
112
|
+
Dir.chdir(pwd)
|
109
113
|
collector = ClientCollector.new(@runner.command, @suite, @runner)
|
110
114
|
collector.post
|
111
115
|
end
|
data/lib/cli/version.rb
CHANGED