From c8d72dc46992498c2c35e34e0b599bbae9356bb3 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 8 Apr 2014 15:25:47 -0400 Subject: test: Remove xml output files before running castxml Ensure that test output is produced by castxml and not left from a previous test run. --- test/run.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/run.cmake b/test/run.cmake index 9cf4ad6..3699b6c 100644 --- a/test/run.cmake +++ b/test/run.cmake @@ -15,6 +15,10 @@ #============================================================================= cmake_minimum_required(VERSION 2.8.5) +if(xml) + file(REMOVE "${xml}") +endif() + execute_process( COMMAND ${command} OUTPUT_VARIABLE actual_stdout -- cgit v0.12