MCPcopy Create free account
hub / github.com/compat-table/compat-table / exec

Function exec

graalvm.js:50–61  ·  view source on GitHub ↗
(flags, testFilename)

Source from the content-addressed store, hash-verified

48}
49
50function exec(flags, testFilename) {
51 try {
52 var stdout = child_process.execFileSync(jsCommand, jsArgs.concat(flags, [ testFilename ]), {
53 encoding: 'utf-8',
54 stdio: ['ignore', 'pipe', 'ignore']
55 });
56
57 return /^\[SUCCESS\]$/m.test(stdout);
58 } catch (e) {
59 return false;
60 }
61}
62
63function graalvmRunner(testFilename, suite) {
64 if (exec([], testFilename)) {

Callers 1

graalvmRunnerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected