Run the quote in file name except on Windows

This should make the CI function again
This commit is contained in:
ISSOtm
2020-09-22 18:13:26 +02:00
parent 91a3c538d9
commit 9742fa731c
6 changed files with 18 additions and 3 deletions

View File

@@ -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 <<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 variant in '' '.pipe'; do
if [ -z "$variant" ]; then