From 9742fa731c40336001cdd47b8401ee2c657f9867 Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Tue, 22 Sep 2020 18:13:26 +0200 Subject: [PATCH] Run the quote in file name except on Windows This should make the CI function again --- .github/workflows/testing.yml | 4 ++++ test/asm/.gitignore | 1 + "test/asm/quote\"file.asm" | 1 - "test/asm/quote\"file.err" | 2 -- "test/asm/quote\"file.out" | 0 test/asm/test.sh | 13 +++++++++++++ 6 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 test/asm/.gitignore delete mode 100644 "test/asm/quote\"file.asm" delete mode 100644 "test/asm/quote\"file.err" delete mode 100644 "test/asm/quote\"file.out" 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 <