Commit 5b6a075d authored by Lukas Riedel's avatar Lukas Riedel

Enfore --allow-run-as-root for parallel unit tests

parent e8411010
......@@ -35,16 +35,16 @@ add_custom_target(test_grid_creator
dune_add_test(
NAME par-ut-test-grid-creation-1
TARGET ${gc_target}
COMMAND ${gc_target}
COMMAND --allow-run-as-root ${gc_target}
MPI_RANKS 2
TIMEOUT 30
CMD_ARGS ${CMAKE_CURRENT_BINARY_DIR}/gc_files_0002.ini --allow-run-as-root
CMD_ARGS ${CMAKE_CURRENT_BINARY_DIR}/gc_files_0002.ini
)
dune_add_test(
NAME par-ut-test-grid-creation-2
TARGET ${gc_target}
COMMAND ${gc_target}
COMMAND --allow-run-as-root ${gc_target}
MPI_RANKS 2
TIMEOUT 30
CMD_ARGS ${CMAKE_CURRENT_BINARY_DIR}/gc_files_0003.ini --allow-run-as-root
CMD_ARGS ${CMAKE_CURRENT_BINARY_DIR}/gc_files_0003.ini
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment