Text archives Help
- From: "James Bigler" <bigler@cs.utah.edu>
- To: manta@sci.utah.edu
- Subject: [Manta] r2139 - trunk/tests
- Date: Fri, 29 Feb 2008 21:51:51 -0700 (MST)
Author: bigler
Date: Fri Feb 29 21:51:51 2008
New Revision: 2139
Modified:
trunk/tests/common.sh
Log:
common.sh
Don't try and cd into the tests directory, as it screws up paths when
running
from a relative direction.
Use absolute paths for the names of scripts and stuff.
Modified: trunk/tests/common.sh
==============================================================================
--- trunk/tests/common.sh (original)
+++ trunk/tests/common.sh Fri Feb 29 21:51:51 2008
@@ -67,9 +67,6 @@
if [[ ! -d ${MANTA_LOG_PATH} ]]; then
mkdir ${MANTA_LOG_PATH};
fi
-
- # Move to our working directory
- cd $MANTA_SRC_PATH/tests
}
run_test()
@@ -82,7 +79,7 @@
test_name=$1
enable_sse=$2
real_type=$3
- script_name=`hostname`.$test_name.cmake
+ script_name=${MANTA_SRC_PATH}/tests/`hostname`.$test_name.cmake
echo "#"
echo "Starting $test_name test: "`date`
@@ -95,7 +92,7 @@
-DENABLE_SSE:BOOL=$enable_sse \
-DREAL_TYPE:STRING=$real_type \
-DSCRIPT_NAME:STRING=$script_name \
- -P GenerateTest.cmake
+ -P ${MANTA_SRC_PATH}/tests/GenerateTest.cmake
ctest -S $script_name -V >> ${MANTA_LOG_PATH}/`date +%F`.log 2>&1
}
- [Manta] r2139 - trunk/tests, James Bigler, 02/29/2008
Archive powered by MHonArc 2.6.16.