From cf357432f6ffb1bdee878bb22d94a5fed165f5d2 Mon Sep 17 00:00:00 2001 From: Stuart Campbell <campbellsi@ornl.gov> Date: Mon, 17 May 2010 17:49:57 +0000 Subject: [PATCH] Update path the cxxtestgen and add includes path for cxxtest. refs #1259 --- Code/Mantid/Kernel/test/runTests.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Code/Mantid/Kernel/test/runTests.sh b/Code/Mantid/Kernel/test/runTests.sh index fbe9b02bb04..d014d88cd4a 100755 --- a/Code/Mantid/Kernel/test/runTests.sh +++ b/Code/Mantid/Kernel/test/runTests.sh @@ -18,15 +18,15 @@ 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 if [ $# -eq 0 ]; then - cxxtestgen.pl --error-printer -o runner.cpp *.h + ../../../Third_Party/src/cxxtest/cxxtestgen.py --error-printer -o runner.cpp *.h else - cxxtestgen.pl --error-printer -o runner.cpp $* + ../../../Third_Party/src/cxxtest/cxxtestgen.py --error-printer -o runner.cpp $* fi echo echo "Compiling the test executable..." g++ -O0 -g3 -o runner.exe runner.cpp -I ../inc -I ../../../Third_Party/include \ - -L ../../debug -L ../../Build -lMantidKernel + -I ../../../Third_Party/src/cxxtest -L ../../debug -L ../../Build -lMantidKernel echo echo "Running the tests..." -- GitLab