Fix automated regression testing GMXLIB value
authorMark Abraham <mark.j.abraham@gmail.com>
Tue, 5 Mar 2013 15:56:34 +0000 (16:56 +0100)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Tue, 5 Mar 2013 19:19:59 +0000 (20:19 +0100)
Change-Id: I3030a85df4d649106f4620b48374ee41a9bdebc9

tests/CMakeLists.txt

index ae47ede88d5f34fa5ba2a5c7a37d5ae50b52a1fe..b2ff2035a63b816d637815499013a6819c8d2076 100644 (file)
@@ -148,6 +148,6 @@ if(REGRESSIONTEST_PATH)
             #windows requires the command to be perl and not the script
             COMMAND perl "${REGRESSIONTEST_PATH}/gmxtest.pl" ${subtest} ${ARGS})
         set_tests_properties(regressiontests/${subtest} PROPERTIES
-            ENVIRONMENT "PATH=${PATH}")
+            ENVIRONMENT "PATH=${PATH};GMXLIB=${CMAKE_SOURCE_DIR}/share/top")
     endforeach()
 endif()