From e109eba9724494737021579938c1094c9dfbc8ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Ma=C5=82ecki?= Date: Tue, 1 Nov 2011 00:04:37 +0100 Subject: [PATCH] [minor] When running tests output only basename --- test/core/run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/core/run b/test/core/run index df20bc5ab..e30ed4b9b 100755 --- a/test/core/run +++ b/test/core/run @@ -38,13 +38,13 @@ function runTest(test, callback) { var killTimeout = setTimeout(function () { child.kill(); - console.log(test.yellow + ' timed out'.red); + console.log(path.basename(test).yellow + ' timed out'.red); }, testTimeout); child.on('exit', function (exitCode) { clearTimeout(killTimeout); - console.log(test.yellow + ' exited with ' + + console.log(path.basename(test).yellow + ' exited with ' + ((exitCode) ? exitCode.toString().red : exitCode.toString().green)); results[test] = { exitCode: exitCode }; callback();