Salome HOME
Moved test configuration from CMake variables to a configuration file
[tools/libbatch.git] / INSTALL
diff --git a/INSTALL b/INSTALL
index 24fdc8c1418ba08916682fa7f3a227ad9f2c6b35..a23ae2d2bc24332dce18b2184793827a1cb5a6aa 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -109,9 +109,12 @@ The build system creates a test target that can be used to automatically test
 some features of the library. The test coverage for this library is currently
 quite poor. Remember that since the tests use connections to remote batch
 systems, the first causes of failure are network and authentication errors. To
-run the tests, you will first have to set several variables in the cache
-(execution host, ...), with ccmake for instance. Then to execute those tests,
-just go to your build directory and type:
+run the tests, you will first have to enable them by setting CMake variable
+TEST_ENABLED to ON. Then copy the file src/Core/Test/batchtest.conf to your
+home directory for instance. Edit this file according to your local
+configuration. Set the environment variable BATCH_TEST_CONFIG_FILE to the path
+to your own configuration file. To execute the autotests, just go to your build
+directory and type:
 
 $ make test