Make confidence test .sh s executable under cygwin by putting #! on first line.

This commit is contained in:
David Brown 2016-07-16 20:59:12 +01:00
parent c146cab6c1
commit f2e12bf481
7 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,4 @@
#!
. ../testenv.sh . ../testenv.sh
voc aa.mod -m voc aa.mod -m
./aa >result ./aa >result

View file

@ -1,3 +1,4 @@
#!
. ../testenv.sh . ../testenv.sh
# Generate mixed source and assembly code listing # Generate mixed source and assembly code listing
CFLAGS="-gstabs -g1 -Wa,-acdhln=hello.s" && voc hello.mod -m CFLAGS="-gstabs -g1 -Wa,-acdhln=hello.s" && voc hello.mod -m

View file

@ -1,3 +1,4 @@
#!
. ../testenv.sh . ../testenv.sh
# Generate mixed source and assembly code listing # Generate mixed source and assembly code listing
voc TestLanguage.mod -m voc TestLanguage.mod -m

View file

@ -1,3 +1,4 @@
#!
. ../testenv.sh . ../testenv.sh
voc LSS.Mod LSB.Mod LSC.Mod LSV.Mod lola.Mod -m voc LSS.Mod LSB.Mod LSC.Mod LSV.Mod lola.Mod -m
./Lola RISC5.Lola result ./Lola RISC5.Lola result

View file

@ -1,3 +1,4 @@
#!
. ../testenv.sh . ../testenv.sh
voc signal.mod -m voc signal.mod -m
./SignalTest x & ./SignalTest x &

View file

@ -1,3 +1,4 @@
#!
## '.' this file from individual test.sh files. ## '.' this file from individual test.sh files.
#set -e #set -e
if which cygpath >/dev/null if which cygpath >/dev/null

View file

@ -1,3 +1,4 @@
#!
# '.' this from indiviual test.sh files # '.' this from indiviual test.sh files
if diff -b expected result if diff -b expected result
then printf "PASSED: $PWD\n\n" then printf "PASSED: $PWD\n\n"