allow a couple more environment variables to be set before running QA.
authorNathan Scott <nathans@sgi.com>
Wed, 22 May 2002 01:53:39 +0000 (01:53 +0000)
committerNathan Scott <nathans@sgi.com>
Wed, 22 May 2002 01:53:39 +0000 (01:53 +0000)
tools/auto-qa

index fa3de27e45aaf4b9f1e47280ae95858f1624d6ba..6d98dd288acc9f135f71c070b62916334d44b90b 100755 (executable)
 
 # configuration (you could tune this)
 
-EXTRA="-xfs-qa"
 BOOT="/boot"
 SOAK_PASSES="-1"
 SOAK_STRESS="10000"
 SOAK_PROC="3"
+export EXTRA=${EXTRA:=-xfs-qa}
 export MKFS_OPTIONS=${MKFS_OPTIONS:=-bsize=4096}
 export MOUNT_OPTIONS=${MOUNT_OPTIONS:=-ologbufs=2}
+export MALLOCLIB=${MALLOCLIB:=/usr/lib/libefence.a}
 
 _log()
 {
@@ -376,7 +377,6 @@ do
                cd $WORKAREA/cmd/$pkg
 
                # use e-fence - but this will only take effect on configure
-               export MALLOCLIB=/usr/lib/libefence.a
                make configure 2>&1 \
                        || _fail "          !!! configure $pkg failed"
                make default 2>&1 \