From: Alexis Laferrière Date: Fri, 17 Mar 2017 23:11:04 +0000 (-0400) Subject: tests: add basic MINGW64 skip list X-Git-Url: http://nitlanguage.org tests: add basic MINGW64 skip list Signed-off-by: Alexis Laferrière --- diff --git a/tests/MINGW64_NT.skip b/tests/MINGW64_NT.skip new file mode 100644 index 0000000..619b61b --- /dev/null +++ b/tests/MINGW64_NT.skip @@ -0,0 +1,16 @@ +cocoa_extern_types +cocoa_message_box +hello_cocoa +hello_ios +test_platform_ios +mnit +shoot_linux +dino_linux +ballz_linux +mpi +emscripten +neo_doxygen +neo4j +mongo +pernicious_numbers +frankuchredux diff --git a/tests/tests.sh b/tests/tests.sh index 308ff84..2fbab89 100755 --- a/tests/tests.sh +++ b/tests/tests.sh @@ -154,6 +154,8 @@ else HOSTNAME="hostname -s" fi +UNAME=`uname | sed s/-.*//` + # $1 is the pattern of the test # $2 is the file to compare to # the result is: @@ -373,7 +375,7 @@ need_skip() fi # Skip by OS - local os_skip_file=`uname`.skip + local os_skip_file=$UNAME.skip if test -e $os_skip_file && echo "$1" | grep -f "$os_skip_file" >/dev/null 2>&1; then echo "=> $2: [skip os]" echo >>$xml "" @@ -530,7 +532,7 @@ case $engine in ;; esac -savdirs="sav/`$HOSTNAME` sav/`uname` sav/$engine $savdirs sav/" +savdirs="sav/`$HOSTNAME` sav/$UNAME sav/$engine $savdirs sav/" # The default nitc compiler [ -z "$NITC" ] && find_nitc