| |
@@ -0,0 +1,25 @@
|
| |
+ #!/bin/bash
|
| |
+ # Include Beaker environment
|
| |
+ . /usr/share/beakerlib/beakerlib.sh || exit 1
|
| |
+
|
| |
+ PACKAGE="libvarlink"
|
| |
+
|
| |
+ rlJournalStart
|
| |
+ rlPhaseStartSetup
|
| |
+ rlAssertRpm $PACKAGE
|
| |
+ rlRun "git clone https://github.com/varlink/libvarlink; cd libvarlink; meson build;make"
|
| |
+ rlPhaseEnd
|
| |
+
|
| |
+ rlPhaseStartTest
|
| |
+ rlLog "Starting tests ..."
|
| |
+ rlRun "cd build; ninja test"
|
| |
+ rlPhaseEnd
|
| |
+
|
| |
+ rlPhaseStartCleanup
|
| |
+ rlLog "libvarlink tests done"
|
| |
+ rlRun "rm -rf libvarlink"
|
| |
+ rlPhaseEnd
|
| |
+ rlJournalPrintText
|
| |
+ rlJournalEnd
|
| |
+
|
| |
+ rlGetTestState
|
| |
Note: These tests basically wraps up the upstream tests
Justification
Adds tests according to the CI wiki specifically the standard test interface in the spec.
The playbook includes Tier1 level test cases that have been tested in the following contexts
and is passing reliably: Classic and Container. Test logs are stored in the artifacts directory.
The following steps are used to execute the tests using the standard test interface:
Test environment
Make sure you have installed packages from the spec
Install all necessary packages from Standard_Test_Roles
Sample-run:
Tests will be enabled in CI, yet gating is currently disabled, so nothing will change. Tests will run on each dist-git commit, they are not triggered by koji builds and if you are using FMN, it should notify you of failures normally.