[gimp] app: Add GIMPDIR for tests



commit c847b56d0ee5f6cf6bb8e1f078fac7530083926d
Author: Martin Nordholts <martinn src gnome org>
Date:   Wed Sep 16 18:41:36 2009 +0200

    app: Add GIMPDIR for tests
    
    Add GIMPDIR for tests, both to get rid of warning about missing
    tags.xml and for future usage.

 app/tests/Makefile.am        |    2 +-
 app/tests/gimpdir/.gitignore |   11 +++++++++++
 app/tests/gimpdir/tags.xml   |   24 ++++++++++++++++++++++++
 3 files changed, 36 insertions(+), 1 deletions(-)
---
diff --git a/app/tests/Makefile.am b/app/tests/Makefile.am
index 0a0fa71..bb1ebe6 100644
--- a/app/tests/Makefile.am
+++ b/app/tests/Makefile.am
@@ -1,6 +1,6 @@
 # Don't mess with user's dir
 TESTS_ENVIRONMENT = \
-	GIMP2_DIRECTORY=/tmp/gimp-testing
+	GIMP2_DIRECTORY=$(abs_top_srcdir)/app/tests/gimpdir
 
 TESTS = \
 	test-layers		\
diff --git a/app/tests/gimpdir/.gitignore b/app/tests/gimpdir/.gitignore
new file mode 100644
index 0000000..fa44da7
--- /dev/null
+++ b/app/tests/gimpdir/.gitignore
@@ -0,0 +1,11 @@
+/colorrc
+/controllerrc
+/dockrc
+/menurc
+/parasiterc
+/pluginrc
+/sessionrc
+/templaterc
+/themerc
+/toolrc
+/unitrc
diff --git a/app/tests/gimpdir/tags.xml b/app/tests/gimpdir/tags.xml
new file mode 100644
index 0000000..3570c4d
--- /dev/null
+++ b/app/tests/gimpdir/tags.xml
@@ -0,0 +1,24 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<tags>
+
+  <resource identifier="gimp-brush-clipboard" checksum="157dcef48665ab465439cfaf10d6feeb">
+  </resource>
+
+  <resource identifier="gimp-pattern-clipboard" checksum="eff9598f9f61c1dc78d842f1798c2ab8">
+  </resource>
+
+  <resource identifier="gimp-gradient-fg-bg-rgb" checksum="12ad9439c57e897e50fb0399439e5b2b">
+  </resource>
+
+  <resource identifier="gimp-gradient-fg-bg-hsv-cw" checksum="86589f70c8a7777c6e2d1d14b99e3759">
+  </resource>
+
+  <resource identifier="gimp-gradient-fg-bg-hsv-ccw" checksum="65aacbbd72d99ff20ca1bd310f0a21a5">
+  </resource>
+
+  <resource identifier="gimp-gradient-fg-bg-rgb" checksum="4a878c6cfae0b0e03c0834723daadf92">
+  </resource>
+
+  <resource identifier="gimp-gradient-fg-transparent" checksum="1491f74caf057a39c8193470da2d2a29">
+  </resource>
+</tags>



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