Skip to content
Snippets Groups Projects
Commit 08f71a11 authored by Dr. Jorrit Fahlke's avatar Dr. Jorrit Fahlke
Browse files

Merge branch 'readable-test-definition' into 'master'

Make test definitions moare readable

See merge request jfahl_01/pacxx-projectseminar-2019!9
parents 719e3eb6 85aede95
No related branches found
No related tags found
1 merge request!9Make test definitions more readable
Pipeline #19459 passed
......@@ -11,46 +11,62 @@ dune_add_test(
NAME solution01-amg
TARGET solution01
COMMAND sh
CMD_ARGS -exc "./solution01 -output.filename solution-amg -solver.preconditioner.type amg && cmp solution-amg.vtu ref.vtu"
)
CMD_ARGS -exc [[
./solution01 -output.filename solution-amg -solver.preconditioner.type amg
cmp solution-amg.vtu ref.vtu
]])
dune_add_test(
NAME solution01-none
TARGET solution01
COMMAND sh
CMD_ARGS -exc "./solution01 -output.filename solution-none -solver.preconditioner.type none && cmp solution-none.vtu ref.vtu"
)
CMD_ARGS -exc [[
./solution01 -output.filename solution-none -solver.preconditioner.type none
cmp solution-none.vtu ref.vtu
]])
dune_add_test(
NAME solution01-matrix-free
TARGET solution01
COMMAND sh
CMD_ARGS -exc "./solution01 -output.filename solution-matrix-free -solver.preconditioner.type none -operator.type matrix-free && cmp solution-matrix-free.vtu ref.vtu"
)
CMD_ARGS -exc [[
./solution01 -output.filename solution-matrix-free \
-solver.preconditioner.type none -operator.type matrix-free
cmp solution-matrix-free.vtu ref.vtu
]])
dune_add_test(
NAME nitschesolution01-amg
TARGET nitschesolution01
COMPILE_DEFINITIONS NITSCHE
COMMAND sh
CMD_ARGS -exc "./nitschesolution01 -output.filename nitschesolution-amg -solver.preconditioner.type amg && cmp nitschesolution-amg.vtu nitscheref.vtu"
)
CMD_ARGS -exc [[
./nitschesolution01 -output.filename nitschesolution-amg \
-solver.preconditioner.type amg
cmp nitschesolution-amg.vtu nitscheref.vtu
]])
dune_add_test(
NAME nitschesolution01-none
TARGET nitschesolution01
COMPILE_DEFINITIONS NITSCHE
COMMAND sh
CMD_ARGS -exc "./nitschesolution01 -output.filename nitschesolution-none -solver.preconditioner.type none && cmp nitschesolution-none.vtu nitscheref.vtu"
)
CMD_ARGS -exc [[
./nitschesolution01 -output.filename nitschesolution-none \
-solver.preconditioner.type none
cmp nitschesolution-none.vtu nitscheref.vtu
]])
dune_add_test(
NAME nitschesolution01-matrix-free
TARGET nitschesolution01
COMPILE_DEFINITIONS NITSCHE
COMMAND sh
CMD_ARGS -exc "./nitschesolution01 -output.filename nitschesolution-matrix-free -solver.preconditioner.type none -operator.type matrix-free && cmp nitschesolution-matrix-free.vtu nitscheref.vtu"
)
CMD_ARGS -exc [[
./nitschesolution01 -output.filename nitschesolution-matrix-free \
-solver.preconditioner.type none -operator.type matrix-free
cmp nitschesolution-matrix-free.vtu nitscheref.vtu
]])
dune_add_test(
NAME octagon
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment