Skip to content
Open
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
1 change: 1 addition & 0 deletions .fmf/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
17 changes: 13 additions & 4 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ files_to_sync:
- .packit.yaml

targets:
- fedora-latest-x86_64
- fedora-latest-aarch64
- fedora-latest-ppc64le
- fedora-latest-s390x
- fedora-latest-stable-x86_64
- fedora-latest-stable-aarch64
- fedora-latest-stable-ppc64le
- fedora-latest-stable-s390x
- fedora-development-x86_64
- fedora-development-aarch64
- fedora-development-ppc64le
Expand All @@ -55,6 +55,15 @@ jobs:
- job: copr_build
trigger: pull_request
manual_trigger: true
- job: tests
trigger: pull_request
manual_trigger: true
targets:
# Run on subset because other arches are not available
- fedora-latest-stable-x86_64
- fedora-latest-stable-aarch64
- fedora-development-x86_64
- fedora-development-aarch64

# - job: propose_downstream
# trigger: release
Expand Down
16 changes: 16 additions & 0 deletions examples/main.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/simple:
summary: Simple example tests
description: |
These are just simple smoke test for the examples to check if they compile
and execute
test: |
pwd
mpicc -o ${example} ${example}.c
mpiexec -n 2 ./${example}

/cpi:
environment:
example: cpi
/hellow:
environment:
example: hellow
18 changes: 18 additions & 0 deletions test/plans.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
discover:
how: fmf
prepare:
- summary: Minimum test requirements
how: install
package:
- mpich-devel
- gcc
- summary: Make sure mpich is loaded during tests
how: shell
script: |
cat << EOF >> $TMT_PLAN_SOURCE_SCRIPT
source /etc/profile.d/modules.sh
module load mpi/mpich-$(arch)
module list
EOF
execute:
how: tmt