2 # Compile at the maximum warning level to probe for warnings
4 MCS=mono ../mcs/mcs.exe --wlevel 4 # for linux
5 #MCS=../mcs/mcs.exe --wlevel 4 # for windows
13 error=`echo $$i | sed -e 's/cs*//' -e 's/.cs//' -e 's/-.*//'`; \
16 error=`echo $$i | sed -e 's/cs*//' -e 's/.cs//'`; \
19 echo -n "Running test $$i ... "; \
20 if $(MCS) --unsafe --expect-error $$error $$i > /dev/null; \
23 flist="$$flist $$i"; \
28 echo "The following tests failed: $$flist"; \
30 echo All tests passed; \
35 for i in error-*.cs; do \
36 echo -n "Running test $$i ... "; \
37 if MCS='$(MCS)' perl ./runtest.pl $$i > /dev/null; \
40 flist="$$flist $$i"; \
45 echo "The following tests failed: $$flist"; \
47 echo All tests passed; \