Skip to content

Commit 84ecb26

Browse files
committed
fix
1 parent d206a83 commit 84ecb26

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ jobs:
374374
chmod +x mpi_coverage_wrapper.sh
375375
376376
# Run MPI tests with coverage wrapper
377-
mpirun -np 2 ./mpi_coverage_wrapper.sh python3 scripts/run_tests.py --running-type="processes" --counts 2
377+
./mpi_coverage_wrapper.sh python3 scripts/run_tests.py --running-type="processes" --counts 2
378378
env:
379379
PPC_NUM_PROC: 2
380380
PPC_NUM_THREADS: 2

scripts/run_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def run_threads(self):
9999
)
100100

101101
def run_core(self):
102-
if platform.system() == "Linux" and not self.__ppc_env.get("PPC_ASAN_RUN"):
102+
if platform.system() == "Linux" and not self.__ppc_env.get("PPC_ASAN_RUN") and str(self.__ppc_num_proc) == "1":
103103
self.__run_exec(
104104
shlex.split(self.valgrind_cmd)
105105
+ [str(self.work_dir / 'core_func_tests')]

0 commit comments

Comments
 (0)