Update main.fmf for internal-testsuite.
* added document start "---" * fixed indentation errors * added yum-utils to 'recommend'
This commit is contained in:
parent
870f15185c
commit
fd34842372
@ -1,32 +1,6 @@
|
||||
---
|
||||
summary: internal-testsuite
|
||||
description: "#!/bin/bash\n# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k\n\
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n#\n# \
|
||||
\ runtest.sh of /tools/libmpc/Regression/internal-testsuite\n# Description:\
|
||||
\ internal-testsuite\n# Author: Martin Coufal <mcoufal@redhat.com>\n#\n# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\
|
||||
#\n# Copyright (c) 2016 Red Hat, Inc.\n#\n# This program is free software:\
|
||||
\ you can redistribute it and/or\n# modify it under the terms of the GNU General\
|
||||
\ Public License as\n# published by the Free Software Foundation, either version\
|
||||
\ 2 of\n# the License, or (at your option) any later version.\n#\n# This program\
|
||||
\ is distributed in the hope that it will be\n# useful, but WITHOUT ANY WARRANTY;\
|
||||
\ without even the implied\n# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n\
|
||||
# PURPOSE. See the GNU General Public License for more details.\n#\n# You\
|
||||
\ should have received a copy of the GNU General Public License\n# along with\
|
||||
\ this program. If not, see http://www.gnu.org/licenses/.\n#\n# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\
|
||||
\n# Include Beaker environment\n. /usr/bin/rhts-environment.sh || exit 1\n. /usr/share/beakerlib/beakerlib.sh\
|
||||
\ || exit 1\n\nPACKAGE=\"${PACKAGE:-$(rpm -qf --qf='%{name}\\n' /usr/lib64/libmpc.so.3)}\"\
|
||||
\nexport PACKAGE\n\nrlJournalStart\n rlPhaseStartSetup\n rlRun \"TmpDir=\\\
|
||||
$(mktemp -d)\" 0 \"Creating tmp directory\"\n rlRun \"pushd $TmpDir\"\n\
|
||||
\trlFetchSrcForInstalled $PACKAGE\n\trlAssertRpm $PACKAGE\n\trlRun \"dnf builddep\
|
||||
\ -y $PACKAGE\"\n rlRun \"rpm --define='_topdir $TmpDir' -Uvh *src.rpm\"\
|
||||
\n rlRun \"rpmbuild --define='_topdir $TmpDir' -bc SPECS/libmpc.spec\"\n\
|
||||
\ rlPhaseEnd\n\n rlPhaseStartTest\n\trlRun \"pushd BUILD/mpc-*\"\n \
|
||||
\ # test\n rlRun \"make RUNTESTFLAGS='--tool_exec=$BIN' check |& tee\
|
||||
\ $TmpDir/check.log\"\n rlRun \"popd\"\n # no unexpected results\
|
||||
\ should appear\n rlRun \"grep '^# of unexpected' check.log\" 1\n rlPhaseEnd\n\
|
||||
\n rlPhaseStartCleanup\n rlRun \"popd\"\n rlRun \"rm -r $TmpDir\"\
|
||||
\ 0 \"Removing tmp directory\"\n rlPhaseEnd\nrlJournalPrintText\nrlJournalEnd\n"
|
||||
contact:
|
||||
- Martin Coufal <mcoufal@redhat.com>
|
||||
contact: Martin Coufal <mcoufal@redhat.com>
|
||||
component:
|
||||
- libmpc
|
||||
test: ./runtest.sh
|
||||
@ -39,6 +13,7 @@ recommend:
|
||||
- rpm-build
|
||||
- gcc
|
||||
- gcc-c++
|
||||
- yum-utils
|
||||
duration: 30m
|
||||
extra-summary: /tools/libmpc/Regression/internal-testsuite
|
||||
extra-task: /tools/libmpc/Regression/internal-testsuite
|
||||
|
Loading…
Reference in New Issue
Block a user