SCM Repository
[diderot] Annotation of /benchmarks/scripts/run_sh.in
Annotation of /benchmarks/scripts/run_sh.in
Parent Directory
|
Revision Log
Revision 1575 -
(view)
(download)
1 : |
jhr |
1538 |
#!/bin/ksh
|
2 : |
|
|
#
|
3 : |
|
|
# A script for running the Diderot benchmark tests.
|
4 : |
|
|
#
|
5 : |
|
|
# usage:
|
6 : |
|
|
# scripts/run.sh [diderotc] [diderotc-flags] [-- runtime-flags]
|
7 : |
|
|
#
|
8 : |
|
|
# @configure_input@
|
9 : |
|
|
#
|
10 : |
|
|
|
11 : |
|
|
function usage {
|
12 : |
|
|
echo "usage:"
|
13 : |
jhr |
1575 |
echo " scripts/run.sh nruns [diderotc-flags] [-- runtime-flags]"
|
14 : |
jhr |
1538 |
exit $1
|
15 : |
|
|
}
|
16 : |
|
|
|
17 : |
|
|
# this script should be run from the rtest directory
|
18 : |
|
|
#
|
19 : |
|
|
HERE=$(pwd)
|
20 : |
|
|
if [ ! -d $HERE/programs ] ; then
|
21 : |
|
|
echo "run script from benchmarks directory"
|
22 : |
|
|
exit 1
|
23 : |
|
|
fi
|