Commits

Brett Giles committed 81a0ac6 Merge

Merge branch 'feature/issue#16-add_code_signing_for_osx' into develop

  • Participants
  • Parent commits e037399, 77a9b80

Comments (0)

Files changed (1)

File GUI/spec/spec_helper.rb

 # result.format! sometimes prints a line as well, but not always.
 
 SimpleCov.at_exit do
+  status= $!.is_a?(::SystemExit) ? $!.status : 0
   SimpleCov.result.format!
   java.lang.System.err.println "SimpleCov report generated, covered #{SimpleCov.result.covered_lines} lines of #{SimpleCov.result.total_lines} for a coverage of %#{SimpleCov.result.covered_percent}."
   LqplController.instance.close
-  java.lang.System.exit(0)
+  java.lang.System.exit(status)
 end