Skip to content

Commit

Permalink
Display exit code when ParPar execution fails in test
Browse files Browse the repository at this point in the history
  • Loading branch information
animetosho committed Oct 18, 2023
1 parent c6cc87b commit c30fbce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- version: '12.22.12'
flags: '--trace-warnings'
python2: false
- version: '20.8.1'
- version: '21.0.0'
flags: '--pending-deprecation --throw-deprecation --trace-warnings --openssl-legacy-provider'
python2: false
name: Test on Node v${{ matrix.version }}
Expand Down
5 changes: 4 additions & 1 deletion test/par-compare.js
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,10 @@ async.timesSeries(allTests.length, function(testNum, cb) {
timePP = Date.now();
proc.execFile(exeNode, execArgs, function(err, stdout, stderr) {
timePP = Date.now() - timePP;
if(err) throw err;
if(err) {
console.error('Error info: ', err);
throw err;
}

var outs = findFiles(tmpDir, /^testout\.vol/);
//if(!outs.length || fs.statSync(tmpDir + outs[0]).size < 1)
Expand Down

0 comments on commit c30fbce

Please sign in to comment.