Method: Puppet::Application::Spec#run_command
- Defined in:
- lib/puppet/application/spec.rb
#run_command ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/puppet/application/spec.rb', line 12 def run_command @reporter = Puppet::Util::Assertion::Reporter.new begin Puppet::Test::TestHelper.initialize evaluate_assertions reporter. rescue Exception => e reporter.print_error(e) end exit 1 unless reporter.failed == 0 exit 0 end |