Skip to content

Commit

Permalink
CMake: Fix broken test target for label parallel_odd
Browse files Browse the repository at this point in the history
Regression introduced in 7d8752b.
  • Loading branch information
jngrad committed Dec 23, 2022
1 parent 1f96dd9 commit 847983f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions testsuite/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ function(PYTHON_TEST)
set_tests_properties(${TEST_NAME} PROPERTIES RESOURCE_LOCK GPU)
endif()

if(${TEST_MAX_NUM_PROC} EQUAL 2)
if(${TEST_NUM_PROC} EQUAL 2)
list(APPEND TEST_LABELS "parallel")
endif()
if(${TEST_MAX_NUM_PROC} EQUAL 3)
if(${TEST_NUM_PROC} EQUAL 3)
list(APPEND TEST_LABELS "parallel_odd")
endif()
set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${TEST_LABELS}")
Expand Down
4 changes: 2 additions & 2 deletions testsuite/python/coulomb_mixed_periodicity.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def test_elc_cpu(self):
self.setup_elc_system()

p3m = espressomd.electrostatics.P3M(
prefactor=1., accuracy=1e-6, mesh=[42, 42, 50], r_cut=3.5)
prefactor=1., accuracy=1e-6, mesh=[42, 42, 50], r_cut=3.)
elc = espressomd.electrostatics.ELC(
actor=p3m, maxPWerror=1E-6, gap_size=3)

Expand All @@ -106,7 +106,7 @@ def test_elc_gpu(self):
self.setup_elc_system()

p3m = espressomd.electrostatics.P3M(
prefactor=1., accuracy=1e-6, mesh=[42, 42, 50], r_cut=3.5)
prefactor=1., accuracy=1e-6, mesh=[42, 42, 50], r_cut=3.)
elc = espressomd.electrostatics.ELC(
actor=p3m, maxPWerror=1E-6, gap_size=3.)

Expand Down

0 comments on commit 847983f

Please sign in to comment.