From 6d073aa71afdc934009fc3ab664b077cea6a3d2d Mon Sep 17 00:00:00 2001 From: Owen Arnold <owen.arnold@stfc.ac.uk> Date: Mon, 17 May 2010 15:00:23 +0000 Subject: [PATCH] Re #1240 revert changes to test run script. --- Code/Mantid/Algorithms/test/runTests.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Code/Mantid/Algorithms/test/runTests.sh b/Code/Mantid/Algorithms/test/runTests.sh index 67089266246..4a379130cd8 100755 --- a/Code/Mantid/Algorithms/test/runTests.sh +++ b/Code/Mantid/Algorithms/test/runTests.sh @@ -17,17 +17,16 @@ rm -f *.properties echo "Generating the source file from the test header files..." # Chaining all tests together can have effects that you don't think of # - it's always a good idea to run your new/changed test on its own -cxxtestgen=../../../Third_Party/src/cxxtest/cxxtestgen.pl if [ $# -eq 0 ]; then - perl $cxxtestgen --error-printer -o runner.cpp *.h + cxxtestgen.pl --error-printer -o runner.cpp *.h else - perl $cxxtestgen --error-printer -o runner.cpp $* + cxxtestgen.pl --error-printer -o runner.cpp $* fi echo echo "Compiling the test executable..." g++ -O0 -g3 -o runner.exe runner.cpp -I ../inc -I ../../Kernel/inc -I ../../API/inc -I ../../DataObjects/inc -I ../../Geometry/inc -I ../../CurveFitting/inc \ - -I ../../DataHandling/inc -I ../../Nexus/inc -I ../../../Third_Party/src/cxxtest \ + -I ../../DataHandling/inc -I ../../Nexus/inc -I ../../../Third_Party/include \ -L ../../debug -L ../../Build \ -lMantidAlgorithms -lMantidKernel -lMantidGeometry -lMantidAPI -lMantidDataObjects -lMantidDataHandling -lMantidNexus -lMantidCurveFitting echo -- GitLab