[m-dev.] trivial diff: fix bug in samples' scripts

Mark Anthony BROWN dougl at cs.mu.OZ.AU
Fri Feb 9 17:36:01 AEDT 2001


Estimated hours taken: 0.5

samples/tests/*/runtests:
	Specify the full pathname when source'ing Mmake.thisdir, since
	the current directory is not always searched.

Index: samples/tests/c_interface/runtests
===================================================================
RCS file: /home/mercury1/repository/mercury/samples/tests/c_interface/runtests,v
retrieving revision 1.1
diff -u -r1.1 runtests
--- samples/tests/c_interface/runtests	2000/02/14 05:28:05	1.1
+++ samples/tests/c_interface/runtests	2001/02/09 05:36:52
@@ -3,7 +3,7 @@
 # is producing the expected output.
 # Return a status of 0 (true) if everything is all right, and 1 otherwise.
 
-. Mmake.thisdir
+. ./Mmake.thisdir
 
 . $DEPTH/handle_options
 
Index: samples/tests/c_interface/c_calls_mercury/runtests
===================================================================
RCS file: /home/mercury1/repository/mercury/samples/tests/c_interface/c_calls_mercury/runtests,v
retrieving revision 1.1
diff -u -r1.1 runtests
--- samples/tests/c_interface/c_calls_mercury/runtests	2000/02/14 05:28:07	1.1
+++ samples/tests/c_interface/c_calls_mercury/runtests	2001/02/09 05:39:51
@@ -3,7 +3,7 @@
 # is producing the expected output.
 # Return a status of 0 (true) if everything is all right, and 1 otherwise.
 
-. Mmake.thisdir
+. ./Mmake.thisdir
 
 . $DEPTH/handle_options
 
Index: samples/tests/c_interface/cplusplus_calls_mercury/runtests
===================================================================
RCS file: /home/mercury1/repository/mercury/samples/tests/c_interface/cplusplus_calls_mercury/runtests,v
retrieving revision 1.1
diff -u -r1.1 runtests
--- samples/tests/c_interface/cplusplus_calls_mercury/runtests	2000/02/14 05:28:11	1.1
+++ samples/tests/c_interface/cplusplus_calls_mercury/runtests	2001/02/09 05:44:35
@@ -3,7 +3,7 @@
 # is producing the expected output.
 # Return a status of 0 (true) if everything is all right, and 1 otherwise.
 
-. Mmake.thisdir
+. ./Mmake.thisdir
 
 . $DEPTH/handle_options
 
Index: samples/tests/c_interface/mercury_calls_c/runtests
===================================================================
RCS file: /home/mercury1/repository/mercury/samples/tests/c_interface/mercury_calls_c/runtests,v
retrieving revision 1.1
diff -u -r1.1 runtests
--- samples/tests/c_interface/mercury_calls_c/runtests	2000/02/14 05:28:13	1.1
+++ samples/tests/c_interface/mercury_calls_c/runtests	2001/02/09 05:45:34
@@ -3,7 +3,7 @@
 # is producing the expected output.
 # Return a status of 0 (true) if everything is all right, and 1 otherwise.
 
-. Mmake.thisdir
+. ./Mmake.thisdir
 
 . $DEPTH/handle_options
 
Index: samples/tests/c_interface/mercury_calls_cplusplus/runtests
===================================================================
RCS file: /home/mercury1/repository/mercury/samples/tests/c_interface/mercury_calls_cplusplus/runtests,v
retrieving revision 1.1
diff -u -r1.1 runtests
--- samples/tests/c_interface/mercury_calls_cplusplus/runtests	2000/02/14 05:28:15	1.1
+++ samples/tests/c_interface/mercury_calls_cplusplus/runtests	2001/02/09 05:46:08
@@ -3,7 +3,7 @@
 # is producing the expected output.
 # Return a status of 0 (true) if everything is all right, and 1 otherwise.
 
-. Mmake.thisdir
+. ./Mmake.thisdir
 
 . $DEPTH/handle_options
 
Index: samples/tests/c_interface/mercury_calls_fortran/runtests
===================================================================
RCS file: /home/mercury1/repository/mercury/samples/tests/c_interface/mercury_calls_fortran/runtests,v
retrieving revision 1.1
diff -u -r1.1 runtests
--- samples/tests/c_interface/mercury_calls_fortran/runtests	2000/02/14 05:28:17	1.1
+++ samples/tests/c_interface/mercury_calls_fortran/runtests	2001/02/09 05:46:24
@@ -3,7 +3,7 @@
 # is producing the expected output.
 # Return a status of 0 (true) if everything is all right, and 1 otherwise.
 
-. Mmake.thisdir
+. ./Mmake.thisdir
 
 . $DEPTH/handle_options
 
Index: samples/tests/c_interface/simpler_c_calls_mercury/runtests
===================================================================
RCS file: /home/mercury1/repository/mercury/samples/tests/c_interface/simpler_c_calls_mercury/runtests,v
retrieving revision 1.1
diff -u -r1.1 runtests
--- samples/tests/c_interface/simpler_c_calls_mercury/runtests	2000/02/14 05:28:20	1.1
+++ samples/tests/c_interface/simpler_c_calls_mercury/runtests	2001/02/09 05:46:41
@@ -3,7 +3,7 @@
 # is producing the expected output.
 # Return a status of 0 (true) if everything is all right, and 1 otherwise.
 
-. Mmake.thisdir
+. ./Mmake.thisdir
 
 . $DEPTH/handle_options
 
Index: samples/tests/c_interface/simpler_cplusplus_calls_mercury/runtests
===================================================================
RCS file: /home/mercury1/repository/mercury/samples/tests/c_interface/simpler_cplusplus_calls_mercury/runtests,v
retrieving revision 1.1
diff -u -r1.1 runtests
--- samples/tests/c_interface/simpler_cplusplus_calls_mercury/runtests	2000/02/14 05:28:22	1.1
+++ samples/tests/c_interface/simpler_cplusplus_calls_mercury/runtests	2001/02/09 05:47:19
@@ -3,7 +3,7 @@
 # is producing the expected output.
 # Return a status of 0 (true) if everything is all right, and 1 otherwise.
 
-. Mmake.thisdir
+. ./Mmake.thisdir
 
 . $DEPTH/handle_options
 
Index: samples/tests/diff/runtests
===================================================================
RCS file: /home/mercury1/repository/mercury/samples/tests/diff/runtests,v
retrieving revision 1.1
diff -u -r1.1 runtests
--- samples/tests/diff/runtests	2000/02/14 05:28:25	1.1
+++ samples/tests/diff/runtests	2001/02/09 05:57:01
@@ -3,7 +3,7 @@
 # is producing the expected output.
 # Return a status of 0 (true) if everything is all right, and 1 otherwise.
 
-. Mmake.thisdir
+. ./Mmake.thisdir
 
 . $DEPTH/handle_options
 
Index: samples/tests/muz/runtests
===================================================================
RCS file: /home/mercury1/repository/mercury/samples/tests/muz/runtests,v
retrieving revision 1.1
diff -u -r1.1 runtests
--- samples/tests/muz/runtests	2000/02/14 05:28:29	1.1
+++ samples/tests/muz/runtests	2001/02/09 06:01:37
@@ -3,7 +3,7 @@
 # is producing the expected output.
 # Return a status of 0 (true) if everything is all right, and 1 otherwise.
 
-. Mmake.thisdir
+. ./Mmake.thisdir
 
 . $DEPTH/handle_options
 
Index: samples/tests/solutions/runtests
===================================================================
RCS file: /home/mercury1/repository/mercury/samples/tests/solutions/runtests,v
retrieving revision 1.1
diff -u -r1.1 runtests
--- samples/tests/solutions/runtests	2000/02/14 05:28:37	1.1
+++ samples/tests/solutions/runtests	2001/02/09 06:08:42
@@ -3,7 +3,7 @@
 # is producing the expected output.
 # Return a status of 0 (true) if everything is all right, and 1 otherwise.
 
-. Mmake.thisdir
+. ./Mmake.thisdir
 
 . $DEPTH/handle_options
 
Index: samples/tests/toplevel/runtests
===================================================================
RCS file: /home/mercury1/repository/mercury/samples/tests/toplevel/runtests,v
retrieving revision 1.1
diff -u -r1.1 runtests
--- samples/tests/toplevel/runtests	2000/02/14 05:28:44	1.1
+++ samples/tests/toplevel/runtests	2001/02/09 06:08:51
@@ -3,7 +3,7 @@
 # is producing the expected output.
 # Return a status of 0 (true) if everything is all right, and 1 otherwise.
 
-. Mmake.thisdir
+. ./Mmake.thisdir
 
 . $DEPTH/handle_options
 
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list