[m-rev.] trivial diff: disable tests/hard_coded/parse on solaris

Simon Taylor stayl at cs.mu.OZ.AU
Wed Dec 4 12:56:54 AEDT 2002



Estimated hours taken: 0.25
Branches: main, release

tests/hard_coded/Mmakefile:
	The `parse' test is linked statically with the debugging libraries,
	so it must be disabled on solaris because `-ldl' doesn't
	work with statically linked executables.

Index: Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/hard_coded/Mmakefile,v
retrieving revision 1.173.2.5
diff -u -u -r1.173.2.5 Mmakefile
--- Mmakefile	30 Nov 2002 14:41:23 -0000	1.173.2.5
+++ Mmakefile	4 Dec 2002 01:01:23 -0000
@@ -275,7 +275,7 @@
 # Static linking doesn't work on Solaris in debug grades
 # ('-ldl' doesn't work with static linking).
 STATIC_LINK_PROGS =
-ifneq "$(findstring solaris,$(FULLARCH)) $(findstring debug,$(GRADE))" "solaris debug"
+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))" ""
--------------------------------------------------------------------------
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