diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 736b1a84..709d2d5a 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -104,6 +104,10 @@ jobs: shell: bash run: | cp bins/* . + - name: Who am I + shell: bash + run: | + uname - name: Run tests shell: bash run: | diff --git a/test/asm/.gitignore b/test/asm/.gitignore new file mode 100644 index 00000000..6a5a4030 --- /dev/null +++ b/test/asm/.gitignore @@ -0,0 +1 @@ +quote\"file.* diff --git "a/test/asm/quote\"file.asm" "b/test/asm/quote\"file.asm" deleted file mode 100644 index 409f9e4d..00000000 --- "a/test/asm/quote\"file.asm" +++ /dev/null @@ -1 +0,0 @@ -WARN __FILE__ diff --git "a/test/asm/quote\"file.err" "b/test/asm/quote\"file.err" deleted file mode 100644 index b490d306..00000000 --- "a/test/asm/quote\"file.err" +++ /dev/null @@ -1,2 +0,0 @@ -warning: quote"file.asm(1): [-Wuser] - quote"file.asm diff --git "a/test/asm/quote\"file.out" "b/test/asm/quote\"file.out" deleted file mode 100644 index e69de29b..00000000 diff --git a/test/asm/test.sh b/test/asm/test.sh index 9266f256..6827b98f 100755 --- a/test/asm/test.sh +++ b/test/asm/test.sh @@ -20,6 +20,19 @@ tryCmp () { cmp $1 $2 || (../../contrib/gbdiff.bash $1 $2; echo "${bold}${red}${i%.asm}${variant}.out.bin mismatch!${rescolors}${resbold}"; false) } +# Add the quote test, except on Windows +if uname | grep -vic mingw; then + cat > quote\"file.asm < quote\"file.out < quote\"file.err <