diff options
Diffstat (limited to 'mcs/errors/makefile')
-rwxr-xr-x | mcs/errors/makefile | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/mcs/errors/makefile b/mcs/errors/makefile deleted file mode 100755 index bbc7930bb85..00000000000 --- a/mcs/errors/makefile +++ /dev/null @@ -1,31 +0,0 @@ -# -# Compile at the maximum warning level to probe for warnings -# -#MCS=mono ../mcs/mcs.exe --wlevel 4 # for linux -MCS=../mcs/mcs.exe --wlevel 4 # for windows - - -all: - @ failed=false; \ - for i in cs*.cs; do \ - case $$i in \ - cs[0-9]*-[0-9]*cs) \ - error=`echo $$i | sed -e 's/cs*//' -e 's/.cs//' -e 's/-.*//'`; \ - ;;\ - cs[0-9-]*cs) \ - error=`echo $$i | sed -e 's/cs*//' -e 's/.cs//'`; \ - ;;\ - esac; \ - echo -n "Running test $$i ... "; \ - if $(MCS) --unsafe --expect-error $$error $$i > /dev/null; \ - then echo OK; \ - else echo FAILED; \ - flist="$$flist $$i"; \ - failed=true; \ - fi; \ - done; \ - if $$failed; then \ - echo "The following tests failed: $$flist"; \ - else \ - echo All tests passed; \ - fi
\ No newline at end of file |