[m-rev.] trivial diff: test_mercury: remove dependencies on /home/pgrad

Simon Taylor stayl at cs.mu.OZ.AU
Thu Nov 15 04:47:33 AEDT 2001


On 13-Nov-2001, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> 
> Estimated hours taken: 0.1
> 
> tools/run_all_tests_from_cron:
> tools/test_mercury:
> 	Remove dependencies on /home/pgrad.

Estimated hours taken: 0.1

tools/run_all_tests_from_cron:
tools/test_mercury:
	Fix a bug in my last change which caused the nightly tests
	to fail on murlibobo -- sh doesn't do tilde expansion, so
	hard-code the location of the .path file..

Index: run_all_tests_from_cron
===================================================================
RCS file: /home/mercury1/repository/mercury/tools/run_all_tests_from_cron,v
retrieving revision 1.45
diff -u -u -r1.45 run_all_tests_from_cron
--- run_all_tests_from_cron	13 Nov 2001 06:21:54 -0000	1.45
+++ run_all_tests_from_cron	14 Nov 2001 17:38:26 -0000
@@ -52,9 +52,7 @@
 
 #-----------------------------------------------------------------------------#
 
-PATH="$HOME/bin/$ARCH`awk '/^[^#]/{printf ":%s",$0;}' ~mercury/.path`"
-PATH="/home/mercury/public/mercury-0.5/$FULLARCH/bin:$PATH"
-PATH="/home/mercury/public/mercury-0.6/$FULLARCH/bin:$PATH"
+PATH="$HOME/bin/$ARCH`awk '/^[^#]/{printf ":%s",$0;}' /home/mercury/public/cron/.path`"
 PATH="/home/mercury/public/mercury-latest/$FULLARCH/bin:$PATH"
 PATH="/home/mercury/public/nuprolog/$FULLARCH/bin:$PATH"
 PATH="/home/mercury/public/gcc-2.7.2/$FULLARCH/bin:$PATH"
Index: test_mercury
===================================================================
RCS file: /home/mercury1/repository/mercury/tools/test_mercury,v
retrieving revision 1.170
diff -u -u -r1.170 test_mercury
--- test_mercury	13 Nov 2001 06:21:54 -0000	1.170
+++ test_mercury	14 Nov 2001 17:38:53 -0000
@@ -15,7 +15,7 @@
 	*)	echo "Usage: $0 host arch fullarch c_compiler" 1>&2; exit 1 ;;
 esac
 
-PATH="$HOME/bin/$ARCH`awk '/^[^#]/{printf ":%s",$0;}' ~mercury/.path`"
+PATH="$HOME/bin/$ARCH`awk '/^[^#]/{printf ":%s",$0;}' /home/mercury/public/cron/.path`"
 PATH="/home/mercury/public/mercury-latest/$FULLARCH/bin:$PATH"
 PATH="/home/$HOST/public/mercury-latest/$FULLARCH/bin:$PATH"
 PATH="/home/mercury/public/gcc-2.7.2/$FULLARCH/bin:$PATH"
--------------------------------------------------------------------------
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