[runtime] Overwrite stacktrace for exception on re-throw. Fixes #1856.
[mono.git] / mono / tests / cas / Makefile.am
1 with_mono_path = MONO_PATH=$(mcs_topdir)/class/lib/net_2_0
2
3 RUNTIME = $(with_mono_path) $(top_builddir)/runtime/mono-wrapper --debug --security
4
5 CSCOMPILE = gmcs -debug
6 PROFILE = net_2_0
7
8 SUBDIRS = assembly linkdemand inheritance demand threads
9
10 # Uncomment this for these tests to be for for 'make check'
11 #check-local: test
12
13 test:
14         @failed=0;      \
15         passed=0;       \
16         for i in $(SUBDIRS); do \
17                 cd $$i; \
18                 $(MAKE) test;   \
19                 if [ "$$?" != "0" ]; then       \
20                         failed=`expr $${failed} + 1`; \
21                         failed_tests="$${failed_tests} $$i"; \
22                 fi;     \
23                 cd ..;  \
24         done;   \
25         if [ "$${failed}" == "0" ]; then        \
26                 echo -e "Perfect score :-)";    \
27         else    \
28                 echo -e "Failure(s) in category:";      \
29                 for i in $${failed_tests};      \
30                         do echo -e "\t$${i}";   \
31                 done;   \
32                 exit 1; \
33         fi