[gegl] Put simple tests in 'tests/simple'
- From: Martin Nordholts <martinn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] Put simple tests in 'tests/simple'
- Date: Fri, 23 Jul 2010 17:37:26 +0000 (UTC)
commit 5e0156df41ea7f8de3c6acc2a67f77ee26b03c42
Author: Martin Nordholts <martinn src gnome org>
Date: Fri Jul 23 18:12:38 2010 +0200
Put simple tests in 'tests/simple'
Put simple tests in 'tests/simple' instead of having them in tests, to
have the tests better organized.
configure.ac | 1 +
tests/.gitignore | 9 ------
tests/Makefile.am | 36 ++--------------------
tests/simple/.gitignore | 11 +++++++
tests/simple/Makefile.am | 30 +++++++++++++++++++
tests/{ => simple}/test-change-processor-rect.c | 0
tests/{ => simple}/test-color-op.c | 0
tests/{ => simple}/test-gegl-rectangle.c | 0
tests/{ => simple}/test-misc.c | 0
tests/{ => simple}/test-proxynop-processing.c | 0
10 files changed, 46 insertions(+), 41 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4bb568f..815eaed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1029,6 +1029,7 @@ tests/Makefile
tests/buffer/Makefile
tests/compositions/Makefile
tests/compositions/data/Makefile
+tests/simple/Makefile
gegl.pc
gegl-uninstalled.pc
])
diff --git a/tests/.gitignore b/tests/.gitignore
index cf352bf..b336cc7 100644
--- a/tests/.gitignore
+++ b/tests/.gitignore
@@ -1,11 +1,2 @@
-/*.la
-/*.lo
-/.deps
-/.libs
/Makefile
/Makefile.in
-/test-change-processor-rect*
-/test-color-op*
-/test-gegl-rectangle*
-/test-misc*
-/test-proxynop-processing*
diff --git a/tests/Makefile.am b/tests/Makefile.am
index c801ca0..31eae20 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,32 +1,4 @@
-SUBDIRS = buffer compositions
-
-# Make the tests run against the build and not the installation
-TESTS_ENVIRONMENT = \
- GEGL_PATH=$(top_builddir)/operations/common:$(top_builddir)/operations/core:$(top_builddir)/operations/external:$(top_builddir)/operations/affine:$(top_builddir)/operations/generated
-
-# The tests
-TESTS = \
- test-change-processor-rect \
- test-color-op \
- test-gegl-rectangle \
- test-misc \
- test-proxynop-processing
-noinst_PROGRAMS = $(TESTS)
-
-# Common CPPFLAGS
-AM_CPPFLAGS = \
- -I$(top_srcdir) \
- -I$(top_builddir)/gegl \
- -I$(top_srcdir)/gegl \
- -I$(top_builddir)/gegl/buffer \
- -I$(top_srcdir)/gegl/buffer \
- -I$(top_builddir)/gegl/property-types \
- -I$(top_srcdir)/gegl/property-types \
- -I$(top_builddir)/gegl/operation \
- -I$(top_srcdir)/gegl/operation
-
-AM_CFLAGS = $(DEP_CFLAGS) $(BABL_CFLAGS)
-
-# Common libs
-LIBS = $(top_builddir)/gegl/libgegl-$(GEGL_API_VERSION).la \
- $(DEP_LIBS) $(BABL_LIBS)
+SUBDIRS = \
+ buffer \
+ compositions \
+ simple
diff --git a/tests/simple/.gitignore b/tests/simple/.gitignore
new file mode 100644
index 0000000..cf352bf
--- /dev/null
+++ b/tests/simple/.gitignore
@@ -0,0 +1,11 @@
+/*.la
+/*.lo
+/.deps
+/.libs
+/Makefile
+/Makefile.in
+/test-change-processor-rect*
+/test-color-op*
+/test-gegl-rectangle*
+/test-misc*
+/test-proxynop-processing*
diff --git a/tests/simple/Makefile.am b/tests/simple/Makefile.am
new file mode 100644
index 0000000..343721d
--- /dev/null
+++ b/tests/simple/Makefile.am
@@ -0,0 +1,30 @@
+# Make the tests run against the build and not the installation
+TESTS_ENVIRONMENT = \
+ GEGL_PATH=$(top_builddir)/operations/common:$(top_builddir)/operations/core:$(top_builddir)/operations/external:$(top_builddir)/operations/affine:$(top_builddir)/operations/generated
+
+# The tests
+TESTS = \
+ test-change-processor-rect \
+ test-color-op \
+ test-gegl-rectangle \
+ test-misc \
+ test-proxynop-processing
+noinst_PROGRAMS = $(TESTS)
+
+# Common CPPFLAGS
+AM_CPPFLAGS = \
+ -I$(top_srcdir) \
+ -I$(top_builddir)/gegl \
+ -I$(top_srcdir)/gegl \
+ -I$(top_builddir)/gegl/buffer \
+ -I$(top_srcdir)/gegl/buffer \
+ -I$(top_builddir)/gegl/property-types \
+ -I$(top_srcdir)/gegl/property-types \
+ -I$(top_builddir)/gegl/operation \
+ -I$(top_srcdir)/gegl/operation
+
+AM_CFLAGS = $(DEP_CFLAGS) $(BABL_CFLAGS)
+
+# Common libs
+LIBS = $(top_builddir)/gegl/libgegl-$(GEGL_API_VERSION).la \
+ $(DEP_LIBS) $(BABL_LIBS)
diff --git a/tests/test-change-processor-rect.c b/tests/simple/test-change-processor-rect.c
similarity index 100%
rename from tests/test-change-processor-rect.c
rename to tests/simple/test-change-processor-rect.c
diff --git a/tests/test-color-op.c b/tests/simple/test-color-op.c
similarity index 100%
rename from tests/test-color-op.c
rename to tests/simple/test-color-op.c
diff --git a/tests/test-gegl-rectangle.c b/tests/simple/test-gegl-rectangle.c
similarity index 100%
rename from tests/test-gegl-rectangle.c
rename to tests/simple/test-gegl-rectangle.c
diff --git a/tests/test-misc.c b/tests/simple/test-misc.c
similarity index 100%
rename from tests/test-misc.c
rename to tests/simple/test-misc.c
diff --git a/tests/test-proxynop-processing.c b/tests/simple/test-proxynop-processing.c
similarity index 100%
rename from tests/test-proxynop-processing.c
rename to tests/simple/test-proxynop-processing.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]