mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Run the quote in file name except on Windows
This should make the CI function again
This commit is contained in:
4
.github/workflows/testing.yml
vendored
4
.github/workflows/testing.yml
vendored
@@ -104,6 +104,10 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cp bins/* .
|
cp bins/* .
|
||||||
|
- name: Who am I
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
uname
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
1
test/asm/.gitignore
vendored
Normal file
1
test/asm/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
quote\"file.*
|
||||||
@@ -1 +0,0 @@
|
|||||||
WARN __FILE__
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
warning: quote"file.asm(1): [-Wuser]
|
|
||||||
quote"file.asm
|
|
||||||
@@ -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)
|
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 <<EOF
|
||||||
|
WARN __FILE__
|
||||||
|
EOF
|
||||||
|
cat > quote\"file.out <<EOF
|
||||||
|
EOF
|
||||||
|
cat > quote\"file.err <<EOF
|
||||||
|
warning: quote"file.asm(1): [-Wuser]
|
||||||
|
quote"file.asm
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
|
||||||
for i in *.asm; do
|
for i in *.asm; do
|
||||||
for variant in '' '.pipe'; do
|
for variant in '' '.pipe'; do
|
||||||
if [ -z "$variant" ]; then
|
if [ -z "$variant" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user