summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>1996-01-03 00:08:33 +0000
committerStefan Eßer <se@FreeBSD.org>1996-01-03 00:08:33 +0000
commit8ec4c84aa412996f7d43f5ec8968c307afc666aa (patch)
treed241e7c30fad0c780ce4e5d35ac8d1b9e3188385 /benchmarks
parentSpecify TMPDIR and RESULTDIR outside the /usr tree, or a R/O /usr will (diff)
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".
Notes
Notes: svn path=/head/; revision=2599
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/bytebench/files/patch-aa40
-rw-r--r--benchmarks/unixbench/files/patch-aa40
2 files changed, 72 insertions, 8 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
diff --git a/benchmarks/unixbench/files/patch-aa b/benchmarks/unixbench/files/patch-aa
index d5078069853d..a69d87ddb1b7 100644
--- a/benchmarks/unixbench/files/patch-aa
+++ b/benchmarks/unixbench/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