[m-rev.] diff: disable --split-c-files tests on OS X
Julien Fischer
juliensf at cs.mu.OZ.AU
Thu Feb 3 15:32:38 AEDT 2005
Estimated hours taken: 0.1
Branches: main, release
Don't run tests that require `--split-c-files' on MacOS X.
That option doesn't work correctly (and never has AFAIK)
on OS X.
tests/hard_coded/Mmakefile:
Disable any tests that use `--split-c-files' on MacOS X
because that option does not work on that OS.
Index: Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/hard_coded/Mmakefile,v
retrieving revision 1.247.2.1
diff -u -r1.247.2.1 Mmakefile
--- Mmakefile 3 Feb 2005 04:25:38 -0000 1.247.2.1
+++ Mmakefile 3 Feb 2005 04:29:25 -0000
@@ -467,12 +467,19 @@
# --split-c-files does not work in the hl* grades (e.g. hlc.gc),
# because it hasn't yet been implemented yet.
# The same is true for deep profiling grades and `mmc --make'.
-ifeq "$(findstring yes,$(MMAKE_USE_MMC_MAKE))$(filter hl% il% java%,$(GRADE))$(findstring profdeep,$(GRADE))" ""
+#
+# --split-c-files also doesn't work on MacOS X.
+#
+ifneq "$(findstring apple-darwin,$(FULLARCH))" "apple-darwin"
+ ifeq "$(findstring yes,$(MMAKE_USE_MMC_MAKE))$(filter hl% il% java%,$(GRADE))$(findstring profdeep,$(GRADE))" ""
SPLIT_PROGS = mapped_module split_c_files
-else
+ else
SPLIT_PROGS =
+ endif
+else
+ SPLIT_PROGS =
endif
-
+
#-----------------------------------------------------------------------------#
TESTS = $(PROGS) $(SPLIT_PROGS:%=%.split)
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list