[project @ 2002-08-26 09:12:21 by simonmar]
authorsimonmar <unknown>
Mon, 26 Aug 2002 09:12:21 +0000 (09:12 +0000)
committersimonmar <unknown>
Mon, 26 Aug 2002 09:12:21 +0000 (09:12 +0000)
enable the 'optasm' way iff GhcWithNativeCodeGen=YES  (should
eliminate all the bogus test failures on Alpha).

testsuite/mk/test.mk

index 307d30b..ee6038d 100644 (file)
@@ -37,6 +37,11 @@ RUNTEST_OPTS = \
        -e config.platform=\"$(TARGETPLATFORM)\" \
        $(EXTRA_RUNTEST_OPTS)
 
+ifeq "$(GhcWithNativeCodeGen)" "YES"
+RUNTEST_OPTS += -e config.compile_ways.append"(\"optasm\")"
+RUNTEST_OPTS += -e config.run_ways.append"(\"optasm\")"
+endif
+
 ifeq "$(filter p, $(GhcLibWays))" "p"
 RUNTEST_OPTS += -e config.compile_ways.append"(\"prof\")"
 RUNTEST_OPTS += -e config.run_ways.append"(\"prof\")"