Method: Funit#run_tests
- Defined in:
- lib/funit.rb
#run_tests ⇒ Object
18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/funit.rb', line 18 def run_tests Compiler.new# a test for compiler env set (remove this later) writeTestRunner(testSuites = parseCommandLine) # convert each *.fun file into a Fortran file: testSuites.each{ |ts| TestSuite.new(ts) } compileTests testSuites raise "Failed to execute TestRunner" unless system("./TestRunner") end |