[m-rev.] diff: fix grade_subdirs failure on Windows

Simon Taylor stayl at cs.mu.OZ.AU
Sun Dec 1 01:38:53 AEDT 2002


Estimated hours taken: 0.2
Branches: main, release

tests/Mmake.common:
	Fix tests/grade_subdirs failures on Windows: 
		s/%.out: %/%.out: %$(EXE_EXT)/

Index: Mmake.common
===================================================================
RCS file: /home/mercury1/repository/tests/Mmake.common,v
retrieving revision 1.35
diff -u -u -r1.35 Mmake.common
--- Mmake.common	3 Nov 2002 14:28:10 -0000	1.35
+++ Mmake.common	29 Nov 2002 09:45:34 -0000
@@ -84,7 +84,7 @@
 # to print out the contents, because that precedes each line of output with
 # the filename, which is helpful when running a parallel make.
 #
-%.out: %
+%.out: %$(EXT_FOR_EXE)
 	{ [ -f $*.inp ] && cat $*.inp; } | ./$< > $@ 2>&1 || \
 		{ grep . $@ /dev/null; exit 1; }
 
--------------------------------------------------------------------------
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