]> SALOME platform Git repositories - tools/libbatch.git/blobdiff - src/Core/Test/batchtest.conf
Salome HOME
Moved test configuration from CMake variables to a configuration file
[tools/libbatch.git] / src / Core / Test / batchtest.conf
diff --git a/src/Core/Test/batchtest.conf b/src/Core/Test/batchtest.conf
new file mode 100644 (file)
index 0000000..a318eac
--- /dev/null
@@ -0,0 +1,28 @@
+# This file contains the variables needed to run the autotests for libBatch. Copy this file
+# in your home directory (for instance), edit it to reflect your local configuration, then
+# set the environment variable BATCH_TEST_CONFIG_FILE to the path to your own configuration
+# file.
+# Note that BATCH_TEST_CONFIG_FILE is the default name for this environment variable. It can be
+# changed at compilation time by setting CMake option TEST_CONFIG_FILE_ENV_VAR.
+
+TEST_LOCAL_SH_WORK_DIR = "/tmp"               # Work directory for local SH Batch test
+TEST_LOCAL_SH_TIMEOUT = 2                     # Execution timeout (in seconds) for local SH Batch test
+TEST_LOCAL_SH_FINALIZATION_TIME = 2           # Finalization time (in seconds) for local SH Batch test
+
+TEST_LOCAL_RSH_EXECUTION_HOST = "localhost"   # Execution host for RSH Batch test
+TEST_LOCAL_RSH_USER = "username"              # User name on the execution host for RSH Batch test
+TEST_LOCAL_RSH_WORK_DIR = "/tmp"              # Work directory for RSH Batch test
+TEST_LOCAL_RSH_TIMEOUT = 10                   # Execution timeout (in seconds) for local RSH Batch test
+TEST_LOCAL_RSH_FINALIZATION_TIME = 5          # Finalization time (in seconds) for local RSH Batch test
+
+TEST_LOCAL_SSH_EXECUTION_HOST = "localhost"   # Execution host for SSH Batch test
+TEST_LOCAL_SSH_USER = "username"              # User name on the execution host for SSH Batch test
+TEST_LOCAL_SSH_WORK_DIR = "/tmp"              # Work directory for SSH Batch test
+TEST_LOCAL_SSH_TIMEOUT = 10                   # Execution timeout (in seconds) for local SSH Batch test
+TEST_LOCAL_SSH_FINALIZATION_TIME = 5          # Finalization time (in seconds) for local SSH Batch test
+
+TEST_PBS_HOST = "localhost"                   # PBS server host
+TEST_PBS_USER = "username"                    # Login for the PBS server
+TEST_PBS_HOMEDIR = "/home/username"           # Home directory on PBS server
+TEST_PBS_QUEUE = "queuename"                  # Queue to submit test job on PBS server
+TEST_PBS_TIMEOUT = 120                        # Execution timeout (in seconds) for PBS Batch test