[gegl] Fix XML composition based regression test system.



commit 960e3934e722c0b0a8a8ae84026c8bf020bb7aa5
Author: �yvind Kolås <pippin gimp org>
Date:   Sun Jan 17 17:17:48 2010 +0000

    Fix XML composition based regression test system.
    
    The previous commit didn't fix it, hopefully this does, probably this is
    broken on win32

 .gitignore                     |    4 ++++
 tests/compositions/Makefile.am |    4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2f51d27..485c7d9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -35,3 +35,7 @@
 /stamp-h
 /stamp-h.in
 /stamp-h1
+*~
+*.sw?
+*.orig
+*.rej
diff --git a/tests/compositions/Makefile.am b/tests/compositions/Makefile.am
index 3083c04..d9e7323 100644
--- a/tests/compositions/Makefile.am
+++ b/tests/compositions/Makefile.am
@@ -12,8 +12,8 @@ images.stamp: $(wildcard $(builddir)/*.xml) \
 	      $(top_builddir)/gegl/libgegl-$(GEGL_API_VERSION).la \
 	      $(top_builddir)/bin/gegl$(EXEEXT)
 	@echo "--[updating test renders]--"; \
-	mkdir output || true ;
-	ln -s $(srcdir)/reference $(builddir)/reference;
+	mkdir output || true > /dev/null;
+	test -e $(builddir)/reference || ln -s $(srcdir)/reference $(builddir)/reference || true > /dev/null;
 	for XML in $(srcdir)/*.xml; do \
 	    export BASE=`echo $$XML | sed s?$(srcdir)/?? | sed s/\.xml//`;\
             PNG=$$BASE".png";\



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]