error trap for testing, 5th

OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=443
This commit is contained in:
Dr. Werner Fink 2023-04-12 06:45:07 +00:00 committed by Git OBS Bridge
parent ae0a8bd390
commit 3473a8efb6

View File

@ -4299,10 +4299,6 @@ popd
--with-xdvi-x-toolkit=xaw3d \
--with-editor='vi +%%d %%s'
PATH=$prefix/bin:$PATH \
TEXMFLOCAL=%{_texmfmaindir} \
TEXMFCNF=$texmfcnf \
(
testsuite () {
test -s ${world}/bibtex-x/test-suite.log || return
cat ${world}/bibtex-x/test-suite.log
@ -4311,11 +4307,16 @@ popd
echo $log
cat $log
done
rm -vf %{options}
}
trap "testsuite" ERR
PATH=$prefix/bin:$PATH \
TEXMFLOCAL=%{_texmfmaindir} \
TEXMFCNF=$texmfcnf \
make %{?_smp_mflags} world STRIP=/bin/true STRIPPROG=/bin/true
)
trap 'rm -vf %{options}' ERR
popd