pck-update: do not reinitialize the tests counter before executing a new test battery
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
476b8f1a62
commit
055aa310d9
@ -64,6 +64,9 @@ Changes in version 1.12.0
|
|||||||
* tests/test01_pkgquality, ests/test02_pkgsecurity - Davide Madrisan:
|
* tests/test01_pkgquality, ests/test02_pkgsecurity - Davide Madrisan:
|
||||||
Rework output by adding the numbering of tests.
|
Rework output by adding the numbering of tests.
|
||||||
|
|
||||||
|
* pck-update - Davide Madrisan:
|
||||||
|
Do not reinitialize the tests counter before executing a new test battery.
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
Changes in version 1.10.0
|
Changes in version 1.10.0
|
||||||
|
@ -2759,13 +2759,13 @@ can't create temporary directory"": $tmpextractdir/$i"
|
|||||||
echo " $test_number" || echo " $test_number"
|
echo " $test_number" || echo " $test_number"
|
||||||
}
|
}
|
||||||
|
|
||||||
local test_number=1
|
( local test_number=1
|
||||||
for fname in $testdir/*; do
|
for fname in $testdir/*; do
|
||||||
notify.debug "$FUNCNAME: running test: \`$fname'"
|
notify.debug "$FUNCNAME: running test: \`$fname'"
|
||||||
( . $fname
|
. $fname
|
||||||
alltests --infofile "$tmpextractdir/rpmpkg.info" \
|
alltests --infofile "$tmpextractdir/rpmpkg.info" \
|
||||||
--tmpdir "$tmpextractdir" )
|
--tmpdir "$tmpextractdir"
|
||||||
done
|
done )
|
||||||
|
|
||||||
# temporary files cleanup
|
# temporary files cleanup
|
||||||
rm -fr $tmpextractdir
|
rm -fr $tmpextractdir
|
||||||
|
Loading…
Reference in New Issue
Block a user