diff options
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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) |