[m-rev.] trivial diff: fix release branch test failures

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Feb 14 17:19:30 AEDT 2003


On 14-Feb-2003, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> +++ test_mercury	14 Feb 2003 06:00:13 -0000
> @@ -264,7 +264,14 @@
>  		# On x86 Unix, we need to set the following flags to enable
>  		# shared libraries (and we need to use shared libraries to
>  		# avoid running out of disk space...)
> -		TEST_MCFLAGS="$TEST_MCFLAGS --mercury-linkage shared"
> +		case $BRANCH in
> +		    latest)
> +			TEST_MCFLAGS="$TEST_MCFLAGS --mercury-linkage shared"
> +		    	;;
> +		    *)
> +			TEST_MCFLAGS="$TEST_MCFLAGS --pic-reg"
> +			;;
> +		esac

This will break as soon as we start testing the 0.12 branch.

The test should be reverse -- you should test for the 0.11 branch rather
than testing for the latest branch.

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