[m-rev.] trivial diff: don't hard-code "mdemangle"

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Sep 12 21:41:43 AEST 2002


Estimated hours taken: 0.1
Branches: main

tests/misc_tests/Mmakefile:
	Use an MDEMANGLE variable, rather than hard-coding `mdemangle'.
	This makes it easier to run the tests using profiler/demangle_test
	rather than util/mdemangle.

Workspace: /home/mars/fjh/ws1/mercury
Index: tests/misc_tests/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/misc_tests/Mmakefile,v
retrieving revision 1.15
diff -u -d -r1.15 Mmakefile
--- tests/misc_tests/Mmakefile	5 Sep 2002 11:37:51 -0000	1.15
+++ tests/misc_tests/Mmakefile	12 Sep 2002 11:40:00 -0000
@@ -19,11 +19,13 @@
 
 #-----------------------------------------------------------------------------#
 
+MDEMANGLE = mdemangle
+
 mdemangle_test.out: mdemangle_test.inp
-	mdemangle < mdemangle_test.inp > mdemangle_test.out 2>&1
+	$(MDEMANGLE) < mdemangle_test.inp > mdemangle_test.out 2>&1
 
 mdemangle_test_hl.out: mdemangle_test_hl.inp
-	mdemangle < mdemangle_test_hl.inp > mdemangle_test_hl.out 2>&1
+	$(MDEMANGLE) < mdemangle_test_hl.inp > mdemangle_test_hl.out 2>&1
 
 pretty_print_test.out: pretty_print_test.ugly
 	cp pretty_print_test.ugly pretty_print_test.out

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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