X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Ftests%2FMakefile.am;h=aa6c3529afe59ef0814e1e0b259ac46157742325;hb=d37df4b0c64f75e7de39a13ec614c7c2719a0491;hp=7d2e1acde3927d18df8577cd5817208a22cd9e02;hpb=10b80454c80415433b5d963cec201b66dd07c143;p=mono.git diff --git a/mono/tests/Makefile.am b/mono/tests/Makefile.am index 7d2e1acde39..aa6c3529afe 100644 --- a/mono/tests/Makefile.am +++ b/mono/tests/Makefile.am @@ -18,19 +18,21 @@ JITTEST_PROG_RUN = MONO_CFG_DIR=$(mono_build_root)/runtime/etc $(LIBTOOL) --mode RUNTIME_ARGS=--config tests-config --optimize=all --debug -with_mono_path = MONO_PATH=$(mcs_topdir)/class/lib/net_4_5 +CLASS=$(mcs_topdir)/class/lib/$(DEFAULT_PROFILE) + +with_mono_path = MONO_PATH=$(CLASS) RUNTIME = $(with_mono_path) $(top_builddir)/runtime/mono-wrapper MKBUNDLE = \ PKG_CONFIG_PATH=$(top_builddir):$(PKG_CONFIG_PATH) \ - $(RUNTIME) $(mcs_topdir)/class/lib/net_4_5/mkbundle.exe + $(RUNTIME) $(CLASS)/mkbundle.exe MCS = $(RUNTIME) $(mcs_topdir)/class/lib/build/mcs.exe -unsafe -debug \ -nowarn:0162 -nowarn:0168 -nowarn:0219 -nowarn:0414 -nowarn:0618 \ -nowarn:0169 -nowarn:1690 -nowarn:0649 -nowarn:0612 -nowarn:3021 \ -nowarn:0197 -ILASM = $(RUNTIME) $(mcs_topdir)/class/lib/net_4_5/ilasm.exe +ILASM = $(RUNTIME) $(CLASS)/ilasm.exe BENCHSRC=fib.cs random.cs nested-loops.cs ackermann.cs tight-loop.cs sieve.cs @@ -140,6 +142,7 @@ BASE_TEST_CS_SRC= \ many-locals.cs \ string-compare.cs \ test-prime.cs \ + test-tls.cs \ params.cs \ reflection.cs \ interface.cs \ @@ -411,6 +414,7 @@ BASE_TEST_CS_SRC= \ thread_static_gc_layout.cs \ sleep.cs \ bug-27147.cs \ + bug-30085.cs \ bug-17537.cs TEST_CS_SRC_DIST= \ @@ -457,6 +461,11 @@ if POWERPC PLATFORM_DISABLED_TESTS=finalizer-abort.exe finalizer-exception.exe finalizer-exit.exe endif +if POWERPC64 +# These tests hang +PLATFORM_DISABLED_TESTS=monitor.exe finalizer-abort.exe finalizer-exception.exe finalizer-exit.exe +endif + if ARM PLATFORM_DISABLED_TESTS=filter-stack.exe endif @@ -730,7 +739,7 @@ test-messages: else test-messages: w32message.exe > test_messages.zero - $(with_mono_path) $(JITTEST_PROG_RUN) w32message.exe >& w32message.allout && cmp test_messages.zero w32message.allout + $(with_mono_path) $(JITTEST_PROG_RUN) w32message.exe > w32message.allout 2>&1 && cmp test_messages.zero w32message.allout endif endif @@ -1085,7 +1094,7 @@ test-aot: @failed=0; \ passed=0; \ failed_tests="";\ - profile=net_4_5; \ + profile=$(DEFAULT_PROFILE); \ tmpfile=`mktemp -t mono_aot_output` || exit 1; \ rm -f test-aot-$${name}.stdout test-aot-$${name}.stderr; \ for assembly in $(mcs_topdir)/class/lib/$$profile/*.dll ; do \ @@ -1279,11 +1288,11 @@ GSHARED_TESTS = \ test-generic-sharing-normal: $(GSHARED_TESTS) @for fn in $+ ; do \ echo "Testing $$fn ..."; \ - MONO_GENERIC_SHARING=all $(RUNTIME) -O=gshared $$fn > $$fn.stdout || exit 1; \ - MONO_GENERIC_SHARING=all $(RUNTIME) -O=gshared,shared $$fn > $$fn.stdout || exit 1; \ - MONO_GENERIC_SHARING=all $(RUNTIME) -O=gshared,-inline $$fn > $$fn.stdout || exit 1; \ - MONO_GENERIC_SHARING=all $(RUNTIME) -O=gshared,-inline,shared $$fn > $fn.stdout || exit 1; \ - if [ x$(AOT) = x1 ]; then MONO_GENERIC_SHARING=all $(with_mono_path) $(JITTEST_PROG_RUN) --aot --debug $$fn > /dev/null || exit 1; MONO_GENERIC_SHARING=all $(RUNTIME) $$fn > $$fn.stdout || exit 1; fi; \ + $(RUNTIME) -O=gshared $$fn > $$fn.stdout || exit 1; \ + $(RUNTIME) -O=gshared,shared $$fn > $$fn.stdout || exit 1; \ + $(RUNTIME) -O=gshared,-inline $$fn > $$fn.stdout || exit 1; \ + $(RUNTIME) -O=gshared,-inline,shared $$fn > $fn.stdout || exit 1; \ + if [ x$(AOT) = x1 ]; then $(with_mono_path) $(JITTEST_PROG_RUN) --aot --debug $$fn > /dev/null || exit 1; $(RUNTIME) $$fn > $$fn.stdout || exit 1; fi; \ done test-generic-sharing-managed: test-runner.exe $(GSHARED_TESTS) @@ -1343,7 +1352,7 @@ test-oom: $(OOM_TESTS) noinst_LTLIBRARIES = libtest.la -AM_CPPFLAGS = $(GLIB_CFLAGS) $(GMODULE_CFLAGS) +AM_CPPFLAGS = $(GLIB_CFLAGS) if HOST_WIN32 # gcc-3.4.4 emits incorrect code when making indirect calls to stdcall functions using a tail call