Browse Source

coverage_test.sh: write into temporary directory instead of local directory

Nathalie Furmento 15 years ago
parent
commit
bb0bf5a3d4
1 changed files with 4 additions and 3 deletions
  1. 4 3
      tests/coverage/coverage_test.sh

+ 4 - 3
tests/coverage/coverage_test.sh

@@ -17,9 +17,10 @@
 
 DIR=$PWD
 ROOTDIR=$DIR/../..
-COVDIR=$PWD/coverage
-BUILDDIR=$PWD/build/
-INSTALLDIR=$PWD/local/
+WORKDIR=`mktemp -d`
+COVDIR=$WORKDIR/coverage
+BUILDDIR=$WORKDIR/build
+INSTALLDIR=$WORKDIR/local
 EXAMPLEDIR=$INSTALLDIR/lib/starpu/examples/
 LOGFILE=`mktemp`