test: make debugger-repl tests work with isolates

This commit is contained in:
Fedor Indutny
2012-01-10 20:56:30 +06:00
committed by Ben Noordhuis
parent 7cee968c21
commit 4cbcdb4b2c
2 changed files with 26 additions and 12 deletions

View File

@@ -76,12 +76,19 @@ function addTest(input, output) {
}
// Initial lines
addTest(null, [
/listening on port 5858/,
/connecting... ok/,
/break in .*:1/,
/1/, /2/, /3/
]);
if (process.features.isolates) {
addTest(null, [
/break in .*:1/,
/1/, /2/, /3/
]);
} else {
addTest(null, [
/listening on port 5858/,
/connecting... ok/,
/break in .*:1/,
/1/, /2/, /3/
]);
}
// Next
addTest('n', [

View File

@@ -81,12 +81,19 @@ function addTest(input, output) {
}
// Initial lines
addTest(null, [
/listening on port 5858/,
/connecting... ok/,
/break in .*:1/,
/1/, /2/, /3/
]);
if (process.features.isolates) {
addTest(null, [
/break in .*:1/,
/1/, /2/, /3/
]);
} else {
addTest(null, [
/listening on port 5858/,
/connecting... ok/,
/break in .*:1/,
/1/, /2/, /3/
]);
}
// Next
addTest('n', [