mirror of
https://github.com/aseprite/aseprite.git
synced 2024-11-20 14:21:45 +00:00
Ignore MINGW64 uname
This commit is contained in:
parent
513d57a6b4
commit
293f9170b6
@ -33,7 +33,7 @@ if [[ "$filter" != "" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
t=$(mktemp -d)
|
t=$(mktemp -d)
|
||||||
if [[ "$(uname)" =~ "MINGW32" ]] || [[ "$(uname)" =~ "MSYS_NT-10.0" ]] ; then
|
if [[ "$(uname)" =~ "MINGW" ]] || [[ "$(uname)" =~ "MSYS" ]] ; then
|
||||||
PWDARG=-W
|
PWDARG=-W
|
||||||
t=$(cd "$t" && pwd $PWDARG)
|
t=$(cd "$t" && pwd $PWDARG)
|
||||||
else
|
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 "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"
|
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
|
echo Ignore console tests on Windows
|
||||||
else
|
else
|
||||||
$ASEPRITE -b --script scripts/console_print.lua >$t/tmp 2>$t/tmp_err
|
$ASEPRITE -b --script scripts/console_print.lua >$t/tmp 2>$t/tmp_err
|
||||||
|
Loading…
Reference in New Issue
Block a user