[m-rev.] trivial diff: add trailing tests to bootcheck script

Julien Fischer juliensf at cs.mu.OZ.AU
Wed Jan 25 17:29:46 AEDT 2006


Estimated hours taken: 0
Branches: main

tools/bootcheck:
	Add the trailing directory to the list of test dirs.

tests/README:
	Add a note that the bootcheck script may need to be updated
	if a new (sub)directory is added to the test suite.

tests/Mmake.common:
	Fix an overlong line.

Julien.

Index: tools/bootcheck
===================================================================
RCS file: /home/mercury1/repository/mercury/tools/bootcheck,v
retrieving revision 1.179
diff -u -r1.179 bootcheck
--- tools/bootcheck	11 Jan 2006 06:07:07 -0000	1.179
+++ tools/bootcheck	25 Jan 2006 06:25:30 -0000
@@ -1490,6 +1490,7 @@
             recompilation
             tabling
             term
+            trailing
             valid
             warnings"

Index: tests/Mmake.common
===================================================================
RCS file: /home/mercury1/repository/tests/Mmake.common,v
retrieving revision 1.46
diff -u -r1.46 Mmake.common
--- tests/Mmake.common	8 Aug 2005 02:27:27 -0000	1.46
+++ tests/Mmake.common	25 Jan 2006 06:23:35 -0000
@@ -146,10 +146,10 @@

 #
 # For some test cases, there is more than one valid output.
-# We try matching the output with the `.err_exp' file, and if that
-# doesn't succeed, and there are `.err_exp2', `.err_exp3', `.err_exp4' or `.err_exp5'
-# files, then we try matching against those too.  If none succeed,
-# the shortest of the diffs is put into the `.err_res' file.
+# We try matching the output with the `.err_exp' file, and if that doesn't
+# succeed, and there are `.err_exp2', `.err_exp3', `.err_exp4' or `.err_exp5'
+# files, then we try matching against those too.  If none succeed, the
+# shortest of the diffs is put into the `.err_res' file.
 #
 %.err_res: %.err %.err_exp
 	@echo "Comparing $*.err with $*.err_exp*,"
Index: tests/README
===================================================================
RCS file: /home/mercury1/repository/tests/README,v
retrieving revision 1.9
diff -u -r1.9 README
--- tests/README	11 Jan 2006 05:12:21 -0000	1.9
+++ tests/README	25 Jan 2006 06:27:04 -0000
@@ -16,6 +16,10 @@
 the test programs and compare their output against hand-coded
 `.exp' (or `.exp2', `.exp3', etc) files.

+NOTE: if you add a new (sub)directory to the test suite then you
+      may need to update the value of the variable `all_test_dirs'
+      in tools/bootcheck.
+
 benchmarks
 	This directory contains Mercury versions of the benchmarks.


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