From 7871125e9c43e38d35af16e8c16ccc80c206499e Mon Sep 17 00:00:00 2001 From: Joao Matos Date: Tue, 3 Sep 2024 23:49:23 +0100 Subject: [PATCH] Minor test script improvements. --- tests/emscripten/test.sh | 2 +- tests/napi/test.sh | 2 +- tests/quickjs/test.sh | 1 - tests/ts/test.sh | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/emscripten/test.sh b/tests/emscripten/test.sh index 56ebab633..758345bfc 100755 --- a/tests/emscripten/test.sh +++ b/tests/emscripten/test.sh @@ -7,7 +7,7 @@ configuration=debug platform=x64 jsinterp=node -if [ $CI = "true" ]; then +if [ "$CI" = "true" ]; then red="" green="" reset="" diff --git a/tests/napi/test.sh b/tests/napi/test.sh index 484bcdc56..66b8e7d11 100755 --- a/tests/napi/test.sh +++ b/tests/napi/test.sh @@ -5,7 +5,7 @@ rootdir="$dir/../.." configuration=Release platform=x64 -if [ $CI = "true" ]; then +if [ "$CI" = "true" ]; then red="" green="" reset="" diff --git a/tests/quickjs/test.sh b/tests/quickjs/test.sh index 21436ab8a..50c818cbf 100755 --- a/tests/quickjs/test.sh +++ b/tests/quickjs/test.sh @@ -35,5 +35,4 @@ echo echo "${green}Executing JS tests with QuickJS${reset}" cp $dir/gen/bin/$configuration/libtest.so $dir -#cp $dir/gen/bin/$configuration/libtest.dylib $dir $jsinterp --std $dir/test.js \ No newline at end of file diff --git a/tests/ts/test.sh b/tests/ts/test.sh index e2f279d9c..bf3de8dea 100755 --- a/tests/ts/test.sh +++ b/tests/ts/test.sh @@ -7,7 +7,7 @@ configuration=debug platform=x64 jsinterp="$rootdir/deps/quickjs/qjs-debug" -if [ $CI = "true" ]; then +if [ "$CI" = "true" ]; then red="" green="" reset=""