From 1dee4d004915245193ccbe848b783be0208fd3e7 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Tue, 14 Apr 2020 16:51:20 +0100 Subject: [PATCH] LibJS: Redirect stderr to /dev/null when running js in run-tests This "mutes" output from dbg() calls - which is not an issue inside serenity itself but if the script is run on the host machine and stdout and stderr are displayed in the same terminal window. --- Libraries/LibJS/Tests/run-tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/LibJS/Tests/run-tests b/Libraries/LibJS/Tests/run-tests index 7cc52252cc..16146d3560 100755 --- a/Libraries/LibJS/Tests/run-tests +++ b/Libraries/LibJS/Tests/run-tests @@ -15,7 +15,7 @@ count=0 GLOBIGNORE=test-common.js for f in *.js; do - result=`$js_program -t $f` + result=`$js_program -t $f 2>/dev/null` if [ "$result" = "PASS" ]; then let pass_count++ echo -ne "( \033[32;1mPass\033[0m ) "