-I$(top_srcdir) \
$(GLIB_CFLAGS) \
$(LLVM_CFLAGS) \
- $(PLATFORM_CFLAGS) $(ARCH_CFLAGS)
+ $(PLATFORM_CFLAGS) $(ARCH_CFLAGS) $(SHARED_CFLAGS)
AM_CXXFLAGS = $(LLVM_CXXFLAGS) $(GLIB_CFLAGS)
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)
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