diff --git a/test/asm/.gitignore b/test/asm/.gitignore index 6a5a4030..ae8c65ea 100644 --- a/test/asm/.gitignore +++ b/test/asm/.gitignore @@ -1 +1,2 @@ quote\"file.* +version.out diff --git a/test/asm/test.sh b/test/asm/test.sh index 678bb0db..12634c95 100755 --- a/test/asm/test.sh +++ b/test/asm/test.sh @@ -22,6 +22,9 @@ tryCmp () { cmp $1 $2 || (../../contrib/gbdiff.bash $1 $2; echo "${bold}${red}${i%.asm}${variant}.out.bin mismatch!${rescolors}${resbold}"; false) } +# Add the version constants test, outputting the closest tag to the HEAD +git describe --tags --abbrev=0 > version.out + # Add the quote test, except on Windows if uname | grep -viq mingw; then cat > quote\"file.asm <