Adjusting upstream-scripttests for testing-farm
disabling tests unstable on testing-farm
This commit is contained in:
parent
e42e4adb08
commit
9ee60eff23
1 changed files with 10 additions and 0 deletions
|
|
@ -85,6 +85,16 @@ rlJournalStart
|
|||
rlRun "mkdir BUILD" 0 "Creating BUILD directory"
|
||||
rlRun "rpmbuild --nodeps --define '_topdir $TmpDir' -bp $TmpDir/SPECS/*spec" \
|
||||
0 "Preparing sources"
|
||||
|
||||
# Disabling tests unstable on testing-farm
|
||||
grep -r "testing-farm" /var/ARTIFACTS/*/plans/all/discover/default-0/tests
|
||||
if [ $? -eq 0 ]; then
|
||||
rlLog "Disabling tests unstable on testing-farm"
|
||||
rlLog "Disabled tests Test_opt_set_keycode, Test_set_completion"
|
||||
sed -i "/^func Test_opt_set_keycode\(\)/,/^endfunc$/d" BUILD/vim91/src/testdir/test_options.vim
|
||||
sed -i "/^func Test_set_completion\(\)/,/^endfunc$/d" BUILD/vim91/src/testdir/test_options.vim
|
||||
fi
|
||||
|
||||
if rlIsFedora || rlIsRHELLike '>9'
|
||||
then
|
||||
rlRun "rm -rf BUILD/*SPECPARTS &> /dev/null" 0,1 "Remove the additional directory if exists"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue