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.
@@ -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
- exit(1) unless $? == 0
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
@@ -1,6 +1,6 @@
1
1
 
2
2
  module CTT
3
3
  module Cli
4
- VERSION = '0.0.5'
4
+ VERSION = '0.0.6'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tac-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: