Add a wrapper around the upstream test suite
This commit is contained in:
parent
f805e1780e
commit
29dce97450
2 changed files with 60 additions and 0 deletions
43
integration/upstream-tests/main.fmf
Normal file
43
integration/upstream-tests/main.fmf
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
summary: Run the upstream integration test suite
|
||||
test: ./test.sh
|
||||
require:
|
||||
- acl
|
||||
- bind-utils
|
||||
- dhcp-client
|
||||
- dnsmasq
|
||||
- dosfstools
|
||||
- e2fsprots
|
||||
- elfutils
|
||||
- integritysetup
|
||||
- iscsi-initiator-utils
|
||||
- jq
|
||||
- lvm2
|
||||
- make
|
||||
- mdadm
|
||||
- net-tools
|
||||
- nmap-ncat
|
||||
- python3-pyexpect
|
||||
- python3-pyparsing
|
||||
- python3-pytest
|
||||
- qemu-kvm
|
||||
- quota
|
||||
- socat
|
||||
- squashfs-tools
|
||||
- swtpm
|
||||
- systemd
|
||||
- systemd-container
|
||||
- systemd-libs
|
||||
- systemd-pam
|
||||
- systemd-tests
|
||||
- systemd-udev
|
||||
- time
|
||||
- tpm2-tools
|
||||
- veritysetup
|
||||
- wget
|
||||
recommend:
|
||||
- systemd-boot-unsigned
|
||||
- systemd-bootchart
|
||||
- systemd-journal-remote
|
||||
- systemd-networkd
|
||||
- systemd-oom-defaults
|
||||
- systemd-resolved
|
||||
17
integration/upstream-tests/test.sh
Executable file
17
integration/upstream-tests/test.sh
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -eux
|
||||
set -o pipefail
|
||||
|
||||
export ARTIFACT_DIRECTORY="${TMT_TEST_DATA:?}"
|
||||
export TEST_SAVE_JOURNAL=fail
|
||||
export TEST_SHOW_JOURNAL=warning
|
||||
export TEST_REQUIRE_INSTALL_TESTS=0
|
||||
export TEST_PREFER_NSPAWN=1
|
||||
export NO_BUILD=1
|
||||
export QEMU_TIMEOUT=1800
|
||||
export NSPAWN_TIMEOUT=1200
|
||||
# FIXME
|
||||
export TEST_NO_QEMU=1
|
||||
|
||||
test/run-integration-tests.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue