diff options
author | se <se@FreeBSD.org> | 1996-01-03 08:08:33 +0800 |
---|---|---|
committer | se <se@FreeBSD.org> | 1996-01-03 08:08:33 +0800 |
commit | be2bb0f1da72b282c59abce95b6ae95d815c31c6 (patch) | |
tree | 46a523788ca9a5e22c7406a7e6a14141c72925ad /benchmarks/bytebench | |
parent | be42cf355258f6f7cec97043c39406e37e1c0a22 (diff) | |
download | freebsd-ports-gnome-be2bb0f1da72b282c59abce95b6ae95d815c31c6.tar.gz freebsd-ports-gnome-be2bb0f1da72b282c59abce95b6ae95d815c31c6.tar.zst freebsd-ports-gnome-be2bb0f1da72b282c59abce95b6ae95d815c31c6.zip |
Specify TMPDIR and RESULTDIR outside the /usr tree, or a R/O /usr will
prevent the tests from running.
Do not try to compile the test programs, since the sources are not
being copied to the lib/bytebench directory by "make install".
Diffstat (limited to 'benchmarks/bytebench')
-rw-r--r-- | benchmarks/bytebench/files/patch-aa | 40 |
1 files changed, 36 insertions, 4 deletions
diff --git a/benchmarks/bytebench/files/patch-aa b/benchmarks/bytebench/files/patch-aa index d5078069853d..a69d87ddb1b7 100644 --- a/benchmarks/bytebench/files/patch-aa +++ b/benchmarks/bytebench/files/patch-aa @@ -25,18 +25,18 @@ *************** *** 36,40 **** TESTDIR = ./testdir - RESULTDIR = ./results +! RESULTDIR = ./results ! TMPDIR = ./tmp # other directories INCLDIR = /usr/include --- 37,41 ---- TESTDIR = ./testdir - RESULTDIR = ./results -! # TMPDIR = ./tmp +! # RESULTDIR = ./results +! # TMPDIR = /var/tmp # other directories INCLDIR = /usr/include *** Run.orig Wed Feb 5 11:08:46 1992 ---- Run Mon Jan 1 23:26:00 1996 +--- Run Wed Jan 3 00:13:43 1996 *************** *** 41,45 **** # awk cat cc chmod comm cp date dc df echo ed expr @@ -64,6 +64,38 @@ case "$Fcount" in *************** +*** 68,75 **** + export FLAVOR + # check that the required files are in the proper places +! if make check +! then : +! else make all +! fi + # + # +--- 68,75 ---- + export FLAVOR + # check that the required files are in the proper places +! #if make check +! # then : +! # else make all +! #fi + # + # +*************** +*** 93,97 **** + cd $PWD + +! TMPDIR=${HOMEDIR}/tmp + cd $TMPDIR + TMPDIR=`pwd` +--- 93,97 ---- + cd $PWD + +! TMPDIR=${TMPDIR-${HOMEDIR}/tmp} + cd $TMPDIR + TMPDIR=`pwd` +*************** *** 418,426 **** if test "$stdin" = "" then # without redirected stdin |