Skip to content
Snippets Groups Projects
Commit 87a342f2 authored by Anders Markvardsen's avatar Anders Markvardsen
Browse files

Added test script for the SaveCSV class! It was tested on linuxs1 using...

Added test script for the SaveCSV class! It was tested on linuxs1 using Russell runTest script. Also, this test script links to boost_filesystem. A -lboost_filesystem was added to SConstruct in the Builds/Tests directory. Notice currently the Build/Tests/SConstruct is currently failing on the builds, so SaveCSVTest.h was not tested against this SConstruct for this submit. Refs #26.
parent 301f9bea
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,8 @@ import sys
from socket import gethostname
libDirList = ['../']
libList = ['Mantid', 'Get', 'g2c', 'python' + sys.version[0:3]]
# added boost_filesystem which is required for the test SaveCSVTest
libList = ['Mantid', 'Get', 'g2c', 'python' + sys.version[0:3], 'boost_filesystem']
cppPaths = ['../../../Third_Party/include/']
cflags = []
......
......@@ -22,9 +22,13 @@ fi
echo
echo "Compiling the test executable..."
g++ -o runner.exe runner.cpp -L ../../Debug -L ../../Build -L ../../../Third_Party/lib/linux64 -lMantid -lGet -lg2c -lPocoFoundation -lPocoUtil -lPocoXML -lPocoNet -lboost_python -lpython2.3
# -lboost_filesystem added for the SaveCSVTest test
g++ -o runner.exe runner.cpp -L../../Debug -L../../Build -L../../../Third_Party/lib/linux64 \
-lMantid -lGet -lg2c -lPocoFoundation -lPocoUtil -lPocoXML -lPocoNet \
-lboost_python -lpython2.3 -lboost_filesystem
echo
echo "Running the tests..."
./runner.exe
echo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment