Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ jobs:
mkdir -p install
tar -xzvf macos-clang-install.tar.gz -C install
- name: Run func tests (MPI)
run: python3 scripts/run_tests.py --running-type="processes" --counts 1 2 3 4
run: scripts/run_tests.py --running-type="processes" --counts 1 2 3 4
env:
PPC_NUM_THREADS: 1
- name: Run tests (threads)
run: python3 scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
run: scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
env:
PPC_NUM_PROC: 1
clang-test-extended:
Expand All @@ -99,6 +99,6 @@ jobs:
mkdir -p install
tar -xzvf macos-clang-install.tar.gz -C install
- name: Run tests (threads extended)
run: python3 scripts/run_tests.py --running-type="threads" --counts 5 7 11 13
run: scripts/run_tests.py --running-type="threads" --counts 5 7 11 13
env:
PPC_NUM_PROC: 1
22 changes: 11 additions & 11 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ jobs:
mkdir -p install
tar -xzvf ubuntu-gcc-install-${{ matrix.os }}.tar.gz -C install
- name: Run func tests (MPI)
run: python3 scripts/run_tests.py --running-type="processes" --counts 1 2 3 4
run: scripts/run_tests.py --running-type="processes" --counts 1 2 3 4
env:
PPC_NUM_THREADS: 1
- name: Run func tests (threads)
run: python3 scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
run: scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
env:
PPC_NUM_PROC: 1
gcc-test-extended:
Expand All @@ -106,7 +106,7 @@ jobs:
mkdir -p install
tar -xzvf ubuntu-gcc-install-${{ matrix.os }}.tar.gz -C install
- name: Run func tests (threads extended)
run: python3 scripts/run_tests.py --running-type="threads" --counts 5 7 11 13
run: scripts/run_tests.py --running-type="threads" --counts 5 7 11 13
env:
PPC_NUM_PROC: 1
clang-build:
Expand Down Expand Up @@ -178,11 +178,11 @@ jobs:
mkdir -p install
tar -xzvf ubuntu-clang-install-${{ matrix.os }}.tar.gz -C install
- name: Run func tests (MPI)
run: python3 scripts/run_tests.py --running-type="processes" --counts 1 2 3 4
run: scripts/run_tests.py --running-type="processes" --counts 1 2 3 4
env:
PPC_NUM_THREADS: 1
- name: Run tests (threads)
run: python3 scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
run: scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
env:
PPC_NUM_PROC: 1
clang-test-extended:
Expand Down Expand Up @@ -210,7 +210,7 @@ jobs:
mkdir -p install
tar -xzvf ubuntu-clang-install-${{ matrix.os }}.tar.gz -C install
- name: Run tests (threads extended)
run: python3 scripts/run_tests.py --running-type="threads" --counts 5 7 11 13
run: scripts/run_tests.py --running-type="threads" --counts 5 7 11 13
env:
PPC_NUM_PROC: 1
clang-sanitizer-build:
Expand Down Expand Up @@ -288,14 +288,14 @@ jobs:
mkdir -p install
tar -xzvf ubuntu-clang-sanitizer-install-${{ matrix.os }}.tar.gz -C install
- name: Run tests (MPI)
run: python3 scripts/run_tests.py --running-type="processes" --counts 2 --additional-mpi-args="--oversubscribe"
run: scripts/run_tests.py --running-type="processes" --counts 2 --additional-mpi-args="--oversubscribe"
env:
PPC_NUM_THREADS: 2
PPC_ASAN_RUN: 1
ASAN_OPTIONS: abort_on_error=1
UBSAN_OPTIONS: halt_on_error=1
- name: Run tests (threads)
run: python3 scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
run: scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
env:
PPC_NUM_PROC: 1
PPC_ASAN_RUN: 1
Expand Down Expand Up @@ -327,7 +327,7 @@ jobs:
mkdir -p install
tar -xzvf ubuntu-clang-sanitizer-install-${{ matrix.os }}.tar.gz -C install
- name: Run tests (threads extended)
run: python3 scripts/run_tests.py --running-type="threads" --counts 5 7 11 13
run: scripts/run_tests.py --running-type="threads" --counts 5 7 11 13
env:
PPC_NUM_PROC: 1
PPC_ASAN_RUN: 1
Expand Down Expand Up @@ -361,12 +361,12 @@ jobs:
run: |
cmake --build build --parallel
- name: Run tests (MPI)
run: python3 scripts/run_tests.py --running-type="processes"
run: scripts/run_tests.py --running-type="processes"
env:
PPC_NUM_PROC: 2
PPC_NUM_THREADS: 2
- name: Run tests (threads)
run: python3 scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
run: scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
env:
PPC_NUM_PROC: 1
- name: Generate gcovr Coverage Data
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ jobs:
run: Expand-Archive -Path .\windows-msvc-install.zip -DestinationPath . -Force
shell: pwsh
- name: Run func tests (MPI)
run: python3 scripts/run_tests.py --running-type="processes" --counts 1 2 3 4
run: scripts/run_tests.py --running-type="processes" --counts 1 2 3 4
env:
PPC_NUM_THREADS: 1
- name: Run tests (threads)
run: python3 scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
run: scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
env:
PPC_NUM_PROC: 1
msvc-test-extended:
Expand All @@ -76,7 +76,7 @@ jobs:
run: Expand-Archive -Path .\windows-msvc-install.zip -DestinationPath . -Force
shell: pwsh
- name: Run tests (threads extended)
run: python3 scripts/run_tests.py --running-type="threads" --counts 5 7 11 13
run: scripts/run_tests.py --running-type="threads" --counts 5 7 11 13
env:
PPC_NUM_PROC: 1
clang-build:
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
run: Expand-Archive -Path .\windows-clang-install.zip -DestinationPath . -Force
shell: pwsh
- name: Run tests (threads)
run: python3 scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
run: scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
env:
PPC_NUM_PROC: 1
clang-test-extended:
Expand All @@ -156,6 +156,6 @@ jobs:
run: Expand-Archive -Path .\windows-clang-install.zip -DestinationPath . -Force
shell: pwsh
- name: Run tests (threads extended)
run: python3 scripts/run_tests.py --running-type="threads" --counts 5 7 11 13
run: scripts/run_tests.py --running-type="threads" --counts 5 7 11 13
env:
PPC_NUM_PROC: 1
6 changes: 3 additions & 3 deletions docs/user_guide/ci.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ Example usage:
export PPC_NUM_PROC=2

# Multithreaded functional tests
python3 scripts/run_tests.py --running-type="threads"
scripts/run_tests.py --running-type="threads"

# MPI functional tests
python3 scripts/run_tests.py --running-type="processes"
scripts/run_tests.py --running-type="processes"

# Performance benchmarks
python3 scripts/run_tests.py --running-type="performance"
scripts/run_tests.py --running-type="performance"

Additional MPI arguments can be supplied with ``--additional-mpi-args`` when
running in ``processes`` mode.
2 changes: 1 addition & 1 deletion scripts/generate_perf_results.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@echo off
mkdir build\perf_stat_dir
python3 scripts/run_tests.py --running-type="performance" > build\perf_stat_dir\perf_log.txt
scripts/run_tests.py --running-type="performance" > build\perf_stat_dir\perf_log.txt
python scripts\create_perf_table.py --input build\perf_stat_dir\perf_log.txt --output build\perf_stat_dir
2 changes: 1 addition & 1 deletion scripts/generate_perf_results.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
set -euo pipefail

mkdir -p build/perf_stat_dir
python3 scripts/run_tests.py --running-type="performance" | tee build/perf_stat_dir/perf_log.txt
scripts/run_tests.py --running-type="performance" | tee build/perf_stat_dir/perf_log.txt
python3 scripts/create_perf_table.py --input build/perf_stat_dir/perf_log.txt --output build/perf_stat_dir
2 changes: 2 additions & 0 deletions scripts/run_tests.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env python3

import os
import shlex
import subprocess
Expand Down
Loading