summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-12-30 17:13:49 +0000
committerDavid Robillard <d@drobilla.net>2013-12-30 17:13:49 +0000
commit3ee994bedf2d5139dbc0242646f8c370a31d71d0 (patch)
treedac1ae8775aae1e6a4fd9fc8271af5609f0cf41a /wscript
parent72ddaae31b6746f2d0f889c3b7cba38512952b94 (diff)
downloadlilv-3ee994bedf2d5139dbc0242646f8c370a31d71d0.tar.gz
lilv-3ee994bedf2d5139dbc0242646f8c370a31d71d0.tar.bz2
lilv-3ee994bedf2d5139dbc0242646f8c370a31d71d0.zip
Clean up after test suite so multiple runs are successful.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5226 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/wscript b/wscript
index 7f48032..cfc1ff5 100644
--- a/wscript
+++ b/wscript
@@ -1,5 +1,6 @@
#!/usr/bin/env python
import os
+import shutil
import subprocess
import sys
import waflib.Options as Options
@@ -406,6 +407,7 @@ def test(ctx):
os.environ['PATH'] = 'test' + os.pathsep + os.getenv('PATH')
autowaf.run_tests(ctx, APPNAME, ['lilv_test'], dirs=['./src','./test'])
autowaf.post_test(ctx, APPNAME)
+ shutil.rmtree('state')
def lint(ctx):
subprocess.call('cpplint.py --filter=+whitespace/comments,-whitespace/tab,-whitespace/braces,-whitespace/labels,-build/header_guard,-readability/casting,-readability/todo,-build/include,-runtime/sizeof src/* lilv/*', shell=True)