From 7d043abc9f64ad9e1df3d6fe61800b584b9d33fe Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Tue, 13 Mar 2018 00:27:10 -0500 Subject: [PATCH] Force removal of test program --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 9f0620d..86c2386 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -12,7 +12,7 @@ if(DEFINED ENV{STATIC_ANALYSIS}) endif() if(CMAKE_C_FLAGS MATCHES "--analyze") - set(CMAKE_C_LINK_EXECUTABLE "echo 'Will not execute binary when running static analysis'") + set(CMAKE_C_LINK_EXECUTABLE "echo 'Will not execute binary when running static analysis'; rm -f ./erc-test") endif() if(APPLE)