summaryrefslogtreecommitdiff
path: root/tests/fate.sh
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-07-27 01:08:44 +0000
committerMåns Rullgård <mans@mansr.com>2010-07-27 01:08:44 +0000
commit673fe599b31bf2e9d5920ce5ef1a45c5e126d676 (patch)
tree7c4653120a1bdd0687d0358baa8be0746d99f0fb /tests/fate.sh
parenta9dc61114588615633981acc7487c236e55c4f7c (diff)
fate: delete build and install dirs after session
Originally committed as revision 24531 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/fate.sh')
-rwxr-xr-xtests/fate.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/fate.sh b/tests/fate.sh
index af2e14f8bf..5870f52604 100755
--- a/tests/fate.sh
+++ b/tests/fate.sh
@@ -69,6 +69,10 @@ fate()(
${make} ${makeopts} -k fate
)
+clean(){
+ rm -r ${build} ${inst}
+}
+
report(){
date=$(date -u +%Y%m%d%H%M%S)
echo "fate:0:${date}:${slot}:${version}:$1:$2" >report
@@ -105,3 +109,4 @@ configure >configure.log 2>&1 || fail $? "error configuring"
compile >compile.log 2>&1 || fail $? "error compiling"
fate >test.log 2>&1 || fail $? "error testing"
report 0 success
+clean