summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-04-26 19:29:19 +0000
committerDavid Robillard <d@drobilla.net>2014-04-26 19:29:19 +0000
commit34daf961cff3bf87217b6bf9835ccf402781a46a (patch)
treeb3b038639b935b6e9054c199435ecc26c2ec0845 /wscript
parent2e920d824202f9df8b839239ef2db54cf1c3b7e6 (diff)
downloadlilv-34daf961cff3bf87217b6bf9835ccf402781a46a.tar.gz
lilv-34daf961cff3bf87217b6bf9835ccf402781a46a.tar.bz2
lilv-34daf961cff3bf87217b6bf9835ccf402781a46a.zip
Ignore errors when attempting to delete test state directory.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5372 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/wscript b/wscript
index 79017f0..194a987 100644
--- a/wscript
+++ b/wscript
@@ -407,7 +407,10 @@ 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')
+ try:
+ shutil.rmtree('state')
+ except:
+ pass
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)