[gegl/newgraph-merge: 3/8] Erase old test results before running xml tests
- From: Daniel Sabo <daniels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/newgraph-merge: 3/8] Erase old test results before running xml tests
- Date: Tue, 4 Jun 2013 06:43:13 +0000 (UTC)
commit da7cb3844d750cc7d6921d21887473c173304129
Author: Daniel Sabo <DanielSabo gmail com>
Date: Thu May 30 10:55:40 2013 -0700
Erase old test results before running xml tests
tests/compositions/Makefile.am | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/compositions/Makefile.am b/tests/compositions/Makefile.am
index e3cc80d..e766d48 100644
--- a/tests/compositions/Makefile.am
+++ b/tests/compositions/Makefile.am
@@ -71,6 +71,7 @@ $(testprefix)%.xml.sh: Makefile.am $(call test_to_xml,$@) $(call test_to_ref,$@)
out_img=$(call test_to_out,$@) ;\
echo "#!/bin/bash" > $@ ;\
echo "mkdir -p $(abs_builddir)/output" >> $@ ;\
+ echo "if [ -a $$out_img ]; then rm $$out_img ; fi" >> $@ ;\
echo "$(builddir_gegl) $$xml_file -o $$out_img" >> $@ ;\
echo "$(builddir_img_cmp) $$ref_img $$out_img" >> $@ ;\
chmod +x $@
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]