From 0656e02ea00c65f0880859f2f063e41348aec9ad Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Fri, 11 Mar 2016 17:52:07 -0800 Subject: [PATCH] clean up test binaries if not building them again [skip ci] --- test/build.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/build.py b/test/build.py index c600d01bc..78fd9342a 100644 --- a/test/build.py +++ b/test/build.py @@ -9,6 +9,8 @@ test_env = env.Clone() if not env['CPP_TESTS']: for cpp_test_bin in glob.glob('./*/*-bin'): os.unlink(cpp_test_bin) + if os.path.exists('./unit/run'): os.unlink('./unit/run') + if os.path.exists('./visual/run'): os.unlink('./visual/run') else: test_env['LIBS'] = [env['MAPNIK_NAME']] test_env.AppendUnique(LIBS='mapnik-wkt')