... | ... | @@ -35,19 +35,22 @@ Any deviation from this naming scheme will result in a failure when the cron scr |
|
|
5. `RegressionTestName.stat`: The stat file generated by the simulation
|
|
|
6. `RegressionTestName.stat.md5`: The md5sum of the stat file
|
|
|
|
|
|
<<creating-md5sums,Creating md5sums>> shows how md5sums can be generated for reference files. All these files have to be placed in `opal-Tests/RegressionTests/` and be committed to the svn repository in order be run nightly. You can omit the svn commit to only use the regression test locally by running
|
|
|
`
|
|
|
<<creating-md5sums,Creating md5sums>> shows how md5sums can be generated for reference files.
|
|
|
All these files have to be placed in `regression=tests/RegressionTests/` and be committed to the repository in order be run nightly.
|
|
|
You can omit the commit to only use the regression test locally by running
|
|
|
|
|
|
----
|
|
|
run-regression-test.py --user --run-local
|
|
|
}}}
|
|
|
----
|
|
|
|
|
|
Examples of working regression tests are located in `opal-Tests/RegressionTests/`.
|
|
|
Examples of working regression tests are located in `regression-tests/RegressionTests/`.
|
|
|
|
|
|
=== Summary
|
|
|
|
|
|
The directory tree should look like this:
|
|
|
|
|
|
----
|
|
|
opal-Tests/RegressionTests/RegressionTestName
|
|
|
regression-tests/RegressionTests/RegressionTestName
|
|
|
RegressionTestName.rt
|
|
|
RegressionTestName.sge
|
|
|
RegressionTestName.in
|
... | ... | @@ -173,7 +176,7 @@ TODO |
|
|
0. `git clone git@gitlab.psi.ch:OPAL/NightlyBuild.git`
|
|
|
1. goto the directory where **run-reg-tests.py** is present (you get this from the clone above)
|
|
|
2. set the environment variable `OPAL_EXE_PATH`
|
|
|
3. set the `$REG_TEST_DIR` for example `export REG_TEST_DIR=$OPAL_ROOT/opal-Test/RegressionTests`
|
|
|
3. set the `$REG_TEST_DIR` for example `export REG_TEST_DIR=$OPAL_ROOT/regression-tests/RegressionTests`
|
|
|
4. set the `$REGTEST_WWW` for example `export REGTEST_WWW=$HOME/regtest-www`
|
|
|
5. `cd $REG_TEST_DIR/run`
|
|
|
6. `python run-reg-tests.py --opal-exe-path=$OPAL_EXE_PATH --regtests-dir=$REG_TEST_DIR --dont-publish OpalRingTest`
|
... | ... | |