diff options
author | Michael E Brown <mebrown@michaels-house.net> | 2007-12-04 22:42:05 -0600 |
---|---|---|
committer | Michael E Brown <mebrown@michaels-house.net> | 2007-12-04 22:42:05 -0600 |
commit | 3e661e15cf787a795a8401a0d52db0447575ba67 (patch) | |
tree | b7829eae03dcb87eb676d95441a0eda45f07e83e | |
parent | 8d186a76ca3f9511e69af63acd39c270ae61c046 (diff) | |
download | mock-3e661e15cf787a795a8401a0d52db0447575ba67.tar.gz mock-3e661e15cf787a795a8401a0d52db0447575ba67.tar.xz mock-3e661e15cf787a795a8401a0d52db0447575ba67.zip |
clear out old unit tests before starting new ones.
-rwxr-xr-x | docs/releasetests.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/releasetests.sh b/docs/releasetests.sh index 79e13dc..4b0f17e 100755 --- a/docs/releasetests.sh +++ b/docs/releasetests.sh @@ -35,6 +35,9 @@ testConfig=fedora-8-x86_64 MOCKCMD="sudo ./py/mock.py --resultdir=$TOP_SRCTREE/mock-unit-test --uniqueext=unittest -r $testConfig" CHROOT=/var/lib/mock/${testConfig}-unittest/root +# clear out any old test results +sudo rm -rf $TOP_SRCTREE/mock-unit-test + # # pre-populate yum cache for the rest of the commands below # @@ -99,7 +102,6 @@ fi # # Test build all configs we ship. # -sudo rm -rf $TOP_SRCTREE/mock-unit-test for i in $(ls etc/mock | grep .cfg | grep -v default | grep -v ppc); do time sudo ./py/mock.py --resultdir=$TOP_SRCTREE/mock-unit-test --uniqueext=unittest rebuild mock-*.src.rpm -r $(basename $i .cfg) done |