[m-dev.] for review: change test behaviour of bootcheck
Peter Ross
petdr at cs.mu.OZ.AU
Thu Mar 30 12:53:21 AEST 2000
Hi,
For anyone to review.
===================================================================
Estimated hours taken: 0.1
tools/bootcheck:
Change the search path for the test directory.
The rationale for this change is that if you have a copy of the
tests directory in your current workspace then you want that the
tests specific to that workspace to be used in preference to a
global copy of the tests.
Index: bootcheck
===================================================================
RCS file: /home/staff/zs/imp/mercury/tools/bootcheck,v
retrieving revision 1.90
diff -u -r1.90 bootcheck
--- bootcheck 2000/01/24 00:40:19 1.90
+++ bootcheck 2000/03/30 02:49:00
@@ -729,12 +729,12 @@
fi
test_status=0
- if test -d ../tests
+ if test -d tests
then
- tests_prefix="../"
- elif test -d tests
- then
tests_prefix=""
+ elif test -d ../tests
+ then
+ tests_prefix="../"
else
echo "cannot find test directory"
test_status=1
----
Peter Ross
PhD Student University of Melbourne
http://www.cs.mu.oz.au/~petdr/
--------------------------------------------------------------------------
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