fate: delete build and install dirs after session
authorMåns Rullgård <mans@mansr.com>
Tue, 27 Jul 2010 01:08:44 +0000 (01:08 +0000)
committerMåns Rullgård <mans@mansr.com>
Tue, 27 Jul 2010 01:08:44 +0000 (01:08 +0000)
Originally committed as revision 24531 to svn://svn.ffmpeg.org/ffmpeg/trunk

tests/fate.sh

index af2e14f..5870f52 100755 (executable)
@@ -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