Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions test/parallel/test-tick-processor.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -45,12 +45,10 @@ runTest(/RunInDebugContext/,

functionrunTest(pattern,code){
cp.execFileSync(process.execPath,['-prof','-pe',code]);
varmatches=fs.readdirSync(common.tmpDir).filter(function(file){
return/^isolate-/.test(file);
});
if(matches.length!=1){
common.fail('There should be a single log file.');
}
varmatches=fs.readdirSync(common.tmpDir);

assert.strictEqual(matches.length,1,'There should be a single log file.');

varlog=matches[0];
varout=cp.execSync(process.execPath+
' --prof-process --call-graph-size=10 '+log,
Expand Down