libvarlink/tests/sanity/runtest.sh
Petr Šabata 360bb7d67e RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/libvarlink#9a291522b6ad84680ddc9af146ad2808a1fe7ce9
2020-10-15 17:56:41 +02:00

26 lines
555 B
Bash
Executable File

#!/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