(testFilename)
| 30 | // jerryKey = "jerryscript2_4_0" // uncomment this line to test pre 2.4.0 |
| 31 | |
| 32 | function jerryRunner(testFilename) { |
| 33 | try { |
| 34 | var stdout = child_process.execFileSync(jerryCommand, [ testFilename ], { |
| 35 | encoding: 'utf-8' |
| 36 | }); |
| 37 | //console.log(stdout); |
| 38 | |
| 39 | return /^\[SUCCESS\]$/m.test(stdout); |
| 40 | } catch (e) { |
| 41 | //console.log(e); |
| 42 | return false; |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | runner_support.runTests(jerryRunner, jerryKey, 'JerryScript', { suites: suites, logCommand: 'print' }); |
nothing calls this directly
no outgoing calls
no test coverage detected