From 7a865b5c2a3191feac16c5120f9dd2379e838001 Mon Sep 17 00:00:00 2001 From: Blade Barringer Date: Mon, 16 Nov 2015 12:04:09 -0600 Subject: [PATCH] Correct test output agregator --- tasks/gulp-tests.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tasks/gulp-tests.js b/tasks/gulp-tests.js index 4c085fd270..a4a6660185 100644 --- a/tasks/gulp-tests.js +++ b/tasks/gulp-tests.js @@ -96,7 +96,7 @@ gulp.task('test:common:safe', ['test:prepare:build'], (cb) => { testResults.push({ suite: 'Common Specs\t', pass: testCount(stdout, /(\d+) passing/), - fail: testCount(stderr, /(\d+) failing/), + fail: testCount(stdout, /(\d+) failing/), pend: testCount(stdout, /(\d+) pending/) }); cb(); @@ -132,7 +132,7 @@ gulp.task('test:content:safe', ['test:prepare:build'], (cb) => { testResults.push({ suite: 'Content Specs\t', pass: testCount(stdout, /(\d+) passing/), - fail: testCount(stderr, /(\d+) failing/), + fail: testCount(stdout, /(\d+) failing/), pend: testCount(stdout, /(\d+) pending/) }); cb(); @@ -158,7 +158,7 @@ gulp.task('test:server_side:safe', ['test:prepare:build'], (cb) => { testResults.push({ suite: 'Server Side Specs', pass: testCount(stdout, /(\d+) passing/), - fail: testCount(stderr, /(\d+) failing/), + fail: testCount(stdout, /(\d+) failing/), pend: testCount(stdout, /(\d+) pending/) }); cb(); @@ -184,7 +184,7 @@ gulp.task('test:api-legacy:safe', ['test:prepare:mongo'], (cb) => { testResults.push({ suite: 'API (legacy) Specs', pass: testCount(stdout, /(\d+) passing/), - fail: testCount(stderr, /(\d+) failing/), + fail: testCount(stdout, /(\d+) failing/), pend: testCount(stdout, /(\d+) pending/) }); cb(); @@ -316,7 +316,7 @@ gulp.task('test:api-v2:safe', ['test:prepare:server'], (done) => { testResults.push({ suite: 'API Specs\t', pass: testCount(stdout, /(\d+) passing/), - fail: testCount(stderr, /(\d+) failing/), + fail: testCount(stdout, /(\d+) failing/), pend: testCount(stdout, /(\d+) pending/) }); done();