Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit dbe0257

Browse files
committed
fix(ci): Show progress when running tests.
CircleCI will timeout the test if it doesn't see any output for 10 minutes. This prints out a '.' with every bit of stdio input to show that we're making progress.
1 parent 0e0490c commit dbe0257

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/test/test_util.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,16 @@ var CommandlineTest = function(command) {
7979
test_process = child_process.spawn(args[0], args.slice(1));
8080

8181
test_process.stdout.on('data', function(data) {
82+
process.stdout.write('.');
8283
output += data;
8384
});
8485

8586
test_process.stderr.on('data', function(data) {
8687
output += data;
8788
});
8889
} else {
89-
test_process = child_process.spawn(args[0], args.slice(1), {stdio: 'inherit'});
90+
test_process = child_process
91+
.spawn(args[0], args.slice(1), {stdio: 'inherit', stderr: 'inherit'});
9092
}
9193

9294
test_process.on('error', function(err) {

0 commit comments

Comments
 (0)