Skip to content
Snippets Groups Projects
Commit a4936921 authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Revert "[CMake] Ask for ADDTEST_TIMEOUT only if ADDTEST_MPI_RANKS > 1"

This reverts commit 8bd9ff56.

The commit did not apply the correct fix, as MPI_RANKS is not a number
but a list of ranks instead. Also, I doubt the existence of ">".
parent 8bd9ff56
No related branches found
No related tags found
1 merge request!1Implement some new features for dune_add_test
......@@ -199,7 +199,7 @@ function(dune_add_test)
if(NOT ADDTEST_MPI_RANKS)
set(ADDTEST_MPI_RANKS 1)
endif()
if((ADDTEST_MPI_RANKS > 1) AND (NOT ADDTEST_TIMEOUT))
if(ADDTEST_MPI_RANKS AND (NOT ADDTEST_TIMEOUT))
message(FATAL_ERROR "dune_add_test: You need to specify the TIMEOUT parameter if using the MPI_RANKS parameter.")
endif()
if(NOT ADDTEST_TIMEOUT)
......
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