diff --git a/testsuite/python/CMakeLists.txt b/testsuite/python/CMakeLists.txt index c11f5b16795..1c7b036983f 100644 --- a/testsuite/python/CMakeLists.txt +++ b/testsuite/python/CMakeLists.txt @@ -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}") diff --git a/testsuite/python/coulomb_mixed_periodicity.py b/testsuite/python/coulomb_mixed_periodicity.py index cf96974c0a2..fddc602ba5a 100644 --- a/testsuite/python/coulomb_mixed_periodicity.py +++ b/testsuite/python/coulomb_mixed_periodicity.py @@ -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) @@ -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.)