mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-21 12:23:44 +00:00
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.
16 lines
323 B
Bash
Executable File
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
|