Files
mercury/tests/generate_exp
Fergus Henderson 48e002a472 Use . ./handle_options' rather than . handle_options',
Estimated hours taken: 0.1

tools/generate_exp:
	Use `. ./handle_options' rather than `. handle_options',
	because the latter doesn't work on some systems if `.' is
	not in your PATH.
1997-02-09 09:10:04 +00:00

16 lines
323 B
Bash
Executable File

#!/bin/sh
# Generate the .exp files that are used as a basis of comparison to check
# the correctness of the code emitted by the Mercury compiler.
. ./handle_options
root=`pwd`
for dir in benchmarks general
do
cd $dir
mmake $jfactor realclean
mmake $jfactor depend
mmake $jfactor HAVE_NUPROLOG=yes exp
cd $root
done