Merge pull request #1563 from directhex/emit-nunit-xml-in-unmanaged-tests
[mono.git] / mono / mini / Makefile.am.in
index 7578f15e7155340dda44dc14ce94934d9b0fcd61..48162213bd2eda2c8dfd9c2e080c9865f483558b 100755 (executable)
@@ -405,7 +405,6 @@ common_sources = \
        linear-scan.c           \
        aot-compiler.c          \
        aot-runtime.c           \
-       aot_dump.c                      \
        graph.c                 \
        mini-codegen.c          \
        mini-exceptions.c       \
@@ -661,7 +660,8 @@ rcheck: mono $(regtests)
 if NACL_CODEGEN
        for i in $(regtests); do echo "running test $$i"; $(RUNTIME) $$i --exclude 'NaClDisable' || exit 1; done
 else
-       $(RUNTIME) --regression $(regtests)
+       -($(RUNTIME) --regression $(regtests); echo $$? > regressionexitcode.out) | ./emitnunit.pl
+       exit $$(cat regressionexitcode.out)
 endif
 
 check-seq-points: mono $(regtests)
@@ -728,7 +728,7 @@ docu: mini.sgm
 check-local: rcheck check-seq-points
 
 clean-local:
-       rm -f mono a.out gmon.out *.o buildver-boehm.h buildver-sgen.h test.exe
+       rm -f mono a.out gmon.out *.o buildver-boehm.h buildver-sgen.h test.exe regressionexitcode.out
 
 pkgconfigdir = $(libdir)/pkgconfig