[m-rev.] diff: disable string_format_o on taifun

Peter Ross pro at missioncriticalit.com
Fri Nov 22 02:28:21 AEDT 2002


Hi,


===================================================================


Estimated hours taken: 0.5
Branches: main

tests/general/string_format/Mmakefile:
    Disable string_format_o on taifun as the C library sprintf is buggy.


Index: tests/general/string_format/Mmakefile
===================================================================
RCS file: /home/staff/zs/imp/tests/general/string_format/Mmakefile,v
retrieving revision 1.4
diff -u -r1.4 Mmakefile
--- tests/general/string_format/Mmakefile	2002/11/21 15:08:57	1.4
+++ tests/general/string_format/Mmakefile	2002/11/21 15:26:29
@@ -17,13 +17,20 @@
 		string_format_u \
 		string_format_x 
 
+	# On taifun there is a buggy version of sprintf which gives
+	# incorrect output for string_format_o so don't test this.
+ifneq "$(findstring taifun,$(HOST))" ""
+	PROGS0=$(filter-out string_format_o,$(STRING_FORMAT_PROGS))
+else
+	PROGS0=$(STRING_FORMAT_PROGS)
+endif
 
 	# The tests don't work in the *.agc grades, because I think they
 	# take too long to finsih and the CPU time limit is breached.
 ifneq "$(findstring .agc,$(GRADE))" ""
 	PROGS=
 else
-	PROGS=$(STRING_FORMAT_PROGS)
+	PROGS=$(PROGS0)
 endif
 
 SUBDIRS = 

----
Peter Ross
PhD Student University of Melbourne
http://www.cs.mu.oz.au/~petdr/
--------------------------------------------------------------------------
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