From 4b1a890ba18c4ddf829d5f81f85be0c5a0b37f57 Mon Sep 17 00:00:00 2001 From: John Kessenich Date: Thu, 6 Jul 2017 11:58:12 -0600 Subject: [PATCH] Nonfunctional, infrastructure: Clean up Test directory droppings. The multithreaded outputs in particular can be troublesome when searching. --- .gitignore | 4 ---- Test/runtests | 7 +++++++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 30889ac7d..3e6cc14df 100644 --- a/.gitignore +++ b/.gitignore @@ -6,8 +6,4 @@ tags TAGS build/ Test/localResults/ -Test/multiThread.out -Test/singleThread.out -Test/vert.spv -Test/frag.spv External/googletest diff --git a/Test/runtests b/Test/runtests index 2caa65069..29a208333 100755 --- a/Test/runtests +++ b/Test/runtests @@ -45,6 +45,11 @@ echo Comparing single thread to multithread for all tests in current directory.. $EXE -i -C *.vert *.geom *.frag *.tes* *.comp > singleThread.out $EXE -i -C *.vert *.geom *.frag *.tes* *.comp -t > multiThread.out diff singleThread.out multiThread.out || HASERROR=1 +if [ $HASERROR -eq 0 ] +then + rm singleThread.out + rm multiThread.out +fi # # entry point renaming tests @@ -147,4 +152,6 @@ else echo Tests Failed. fi +rm -f comp.spv frag.spv geom.spv tesc.spv tese.spv vert.spv + exit $HASERROR