- Compile LSDALTON.
- Select a test (e.g.
ddynam
). Tests that use v1 of runtest are declared using the CMake macroadd_lsdalton_runtest_v1
. Choose one andcd
to its folder. - Run it with
./test -b /build/folder
- Edit the
test
script: - Rename the
result
folder toreference
:git mv result reference
- Re-run to check that everything worked. You might have to change some of the filters. See runtest v2 own docs
- Hook up to CMake. Open
CMakeLists.txt
and change fromadd_lsdalton_runtest_v1
toadd_lsdalton_runtest
. - Go back to the build folder, run
make
andctest -L <name-of-test>
to check that everything works. git checkout -b runtest-v2
,git add
,git commit -m "Move test <name-of-test> to runtest v2"
,git push
.- Open a MR.
Last active
January 14, 2020 22:35
-
-
Save robertodr/5dcc34559d537417e36a95445acd2f4c to your computer and use it in GitHub Desktop.
Update to runtest v2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment