[m-rev.] diff: disable tests/hard_coded/parse on OS X

Julien Fischer juliensf at cs.mu.OZ.AU
Wed Feb 2 23:07:33 AEDT 2005


Estimated hours taken: 0.1
Branches: main

Don't run tests/hard_coded/parse on OS X as it is
statically linked, not only with the Mercury libraries,
but also the system ones.  This doesn't work on OS X
because the static versions of the system libraries
are not installed by default.

tests/hard_coded/Mmakefile:
	Disable tests/hard_coded/parse on OS X.

Julien.

Index: Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/hard_coded/Mmakefile,v
retrieving revision 1.247
diff -u -r1.247 Mmakefile
--- Mmakefile	13 Jan 2005 11:04:37 -0000	1.247
+++ Mmakefile	2 Feb 2005 12:00:25 -0000
@@ -436,13 +436,20 @@

 # Static linking doesn't work on Solaris in debug grades
 # ('-ldl' doesn't work with static linking).
+#
+# Static linking (aginst the system libraries) doesn't
+# work on MacOS X because the static versions of the
+# libraries are not installed by default.
+#
 STATIC_LINK_PROGS =
-ifneq "$(findstring solaris,$(FULLARCH))" "solaris"
+ifneq "$(findstring apple,$(FULLARCH))" "apple"
+  ifneq "$(findstring solaris,$(FULLARCH))" "solaris"
 	# The `parse' test also links with the debug libraries,
 	# so it only works in LLDS grades.
 	ifeq "$(filter hl% java% il%,$(GRADE))" ""
 		STATIC_LINK_PROGS = parse
 	endif
+  endif
 endif

 # We currently test only a limited selection in grade java on this directory.

--------------------------------------------------------------------------
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