From 293f9170b6a1902939e2b3a7bda84f903174fbe8 Mon Sep 17 00:00:00 2001 From: David Capello Date: Mon, 8 Mar 2021 16:28:55 -0300 Subject: [PATCH] Ignore MINGW64 uname --- run-tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run-tests.sh b/run-tests.sh index 4ad540d18..ca535ba20 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -33,7 +33,7 @@ if [[ "$filter" != "" ]]; then fi t=$(mktemp -d) -if [[ "$(uname)" =~ "MINGW32" ]] || [[ "$(uname)" =~ "MSYS_NT-10.0" ]] ; then +if [[ "$(uname)" =~ "MINGW" ]] || [[ "$(uname)" =~ "MSYS" ]] ; then PWDARG=-W t=$(cd "$t" && pwd $PWDARG) else @@ -52,7 +52,7 @@ if [[ "$filter" == "" ]] || [[ "console" =~ $filter ]]; then ! grep -q "assertion failed" $t/tmp && fail "assert() text not found in output" grep -q "this should not be in the output" $t/tmp && fail "text that shouldn't be in the output is" - if [[ "$(uname)" =~ "MINGW32" ]] || [[ "$(uname)" =~ "MSYS_NT-10.0" ]] ; then + if [[ "$(uname)" =~ "MINGW" ]] || [[ "$(uname)" =~ "MSYS" ]] ; then echo Ignore console tests on Windows else $ASEPRITE -b --script scripts/console_print.lua >$t/tmp 2>$t/tmp_err