[glib] Move gio tests from gio/tests/ to tests/gio/



commit 2262d76b33094304ece0d0d9cd5920682599a49b
Author: Benjamin Otte <otte gnome org>
Date:   Wed Jul 1 19:03:19 2009 +0200

    Move gio tests from gio/tests/ to tests/gio/
    
    This avoids getting tests built every time when working on libgio and
    running make in the gio/ directory.

 configure.in                                     |    2 +-
 gio/Makefile.am                                  |    2 --
 tests/Makefile.am                                |    2 +-
 {gio/tests => tests/gio}/.gitignore              |    0
 {gio/tests => tests/gio}/Makefile.am             |    0
 {gio/tests => tests/gio}/buffered-input-stream.c |    0
 {gio/tests => tests/gio}/contexts.c              |    0
 {gio/tests => tests/gio}/data-input-stream.c     |    0
 {gio/tests => tests/gio}/data-output-stream.c    |    0
 {gio/tests => tests/gio}/desktop-app-info.c      |    0
 {gio/tests => tests/gio}/echo-server.c           |    0
 {gio/tests => tests/gio}/filter-streams.c        |    0
 {gio/tests => tests/gio}/g-file-info.c           |    0
 {gio/tests => tests/gio}/g-file.c                |    0
 {gio/tests => tests/gio}/g-icon.c                |    0
 {gio/tests => tests/gio}/httpd.c                 |    0
 {gio/tests => tests/gio}/live-g-file.c           |    0
 {gio/tests => tests/gio}/live-g-file.txt         |    0
 {gio/tests => tests/gio}/memory-input-stream.c   |    0
 {gio/tests => tests/gio}/memory-output-stream.c  |    0
 {gio/tests => tests/gio}/readwrite.c             |    0
 {gio/tests => tests/gio}/resolver.c              |    0
 {gio/tests => tests/gio}/send-data.c             |    0
 {gio/tests => tests/gio}/simple-async-result.c   |    0
 {gio/tests => tests/gio}/sleepy-stream.c         |    0
 {gio/tests => tests/gio}/socket-client.c         |    0
 {gio/tests => tests/gio}/socket-server.c         |    0
 {gio/tests => tests/gio}/srvtarget.c             |    0
 {gio/tests => tests/gio}/unix-streams.c          |    0
 29 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/configure.in b/configure.in
index 73e9482..0987ba0 100644
--- a/configure.in
+++ b/configure.in
@@ -3462,7 +3462,6 @@ gio/libasyncns/Makefile
 gio/fen/Makefile
 gio/fam/Makefile
 gio/win32/Makefile
-gio/tests/Makefile
 po/Makefile.in
 docs/Makefile
 docs/reference/Makefile
@@ -3473,6 +3472,7 @@ docs/reference/gobject/version.xml
 docs/reference/gio/Makefile
 docs/reference/gio/version.xml
 tests/Makefile
+tests/gio/Makefile
 tests/gobject/Makefile
 tests/refcount/Makefile
 m4macros/Makefile
diff --git a/gio/Makefile.am b/gio/Makefile.am
index 59d5264..5b8dc62 100644
--- a/gio/Makefile.am
+++ b/gio/Makefile.am
@@ -174,8 +174,6 @@ win32_sources = \
 
 endif
 
-SUBDIRS += tests
-
 libgio_2_0_la_SOURCES =		\
 	gappinfo.c 		\
 	gasynchelper.c 		\
diff --git a/tests/Makefile.am b/tests/Makefile.am
index da13976..162fc4c 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,6 +1,6 @@
 include $(top_srcdir)/Makefile.decl
 
-SUBDIRS=gobject refcount
+SUBDIRS=gobject refcount gio
 
 AM_CPPFLAGS = 				\
 	-I$(top_srcdir) 		\
diff --git a/gio/tests/.gitignore b/tests/gio/.gitignore
similarity index 100%
rename from gio/tests/.gitignore
rename to tests/gio/.gitignore
diff --git a/gio/tests/Makefile.am b/tests/gio/Makefile.am
similarity index 100%
rename from gio/tests/Makefile.am
rename to tests/gio/Makefile.am
diff --git a/gio/tests/buffered-input-stream.c b/tests/gio/buffered-input-stream.c
similarity index 100%
rename from gio/tests/buffered-input-stream.c
rename to tests/gio/buffered-input-stream.c
diff --git a/gio/tests/contexts.c b/tests/gio/contexts.c
similarity index 100%
rename from gio/tests/contexts.c
rename to tests/gio/contexts.c
diff --git a/gio/tests/data-input-stream.c b/tests/gio/data-input-stream.c
similarity index 100%
rename from gio/tests/data-input-stream.c
rename to tests/gio/data-input-stream.c
diff --git a/gio/tests/data-output-stream.c b/tests/gio/data-output-stream.c
similarity index 100%
rename from gio/tests/data-output-stream.c
rename to tests/gio/data-output-stream.c
diff --git a/gio/tests/desktop-app-info.c b/tests/gio/desktop-app-info.c
similarity index 100%
rename from gio/tests/desktop-app-info.c
rename to tests/gio/desktop-app-info.c
diff --git a/gio/tests/echo-server.c b/tests/gio/echo-server.c
similarity index 100%
rename from gio/tests/echo-server.c
rename to tests/gio/echo-server.c
diff --git a/gio/tests/filter-streams.c b/tests/gio/filter-streams.c
similarity index 100%
rename from gio/tests/filter-streams.c
rename to tests/gio/filter-streams.c
diff --git a/gio/tests/g-file-info.c b/tests/gio/g-file-info.c
similarity index 100%
rename from gio/tests/g-file-info.c
rename to tests/gio/g-file-info.c
diff --git a/gio/tests/g-file.c b/tests/gio/g-file.c
similarity index 100%
rename from gio/tests/g-file.c
rename to tests/gio/g-file.c
diff --git a/gio/tests/g-icon.c b/tests/gio/g-icon.c
similarity index 100%
rename from gio/tests/g-icon.c
rename to tests/gio/g-icon.c
diff --git a/gio/tests/httpd.c b/tests/gio/httpd.c
similarity index 100%
rename from gio/tests/httpd.c
rename to tests/gio/httpd.c
diff --git a/gio/tests/live-g-file.c b/tests/gio/live-g-file.c
similarity index 100%
rename from gio/tests/live-g-file.c
rename to tests/gio/live-g-file.c
diff --git a/gio/tests/live-g-file.txt b/tests/gio/live-g-file.txt
similarity index 100%
rename from gio/tests/live-g-file.txt
rename to tests/gio/live-g-file.txt
diff --git a/gio/tests/memory-input-stream.c b/tests/gio/memory-input-stream.c
similarity index 100%
rename from gio/tests/memory-input-stream.c
rename to tests/gio/memory-input-stream.c
diff --git a/gio/tests/memory-output-stream.c b/tests/gio/memory-output-stream.c
similarity index 100%
rename from gio/tests/memory-output-stream.c
rename to tests/gio/memory-output-stream.c
diff --git a/gio/tests/readwrite.c b/tests/gio/readwrite.c
similarity index 100%
rename from gio/tests/readwrite.c
rename to tests/gio/readwrite.c
diff --git a/gio/tests/resolver.c b/tests/gio/resolver.c
similarity index 100%
rename from gio/tests/resolver.c
rename to tests/gio/resolver.c
diff --git a/gio/tests/send-data.c b/tests/gio/send-data.c
similarity index 100%
rename from gio/tests/send-data.c
rename to tests/gio/send-data.c
diff --git a/gio/tests/simple-async-result.c b/tests/gio/simple-async-result.c
similarity index 100%
rename from gio/tests/simple-async-result.c
rename to tests/gio/simple-async-result.c
diff --git a/gio/tests/sleepy-stream.c b/tests/gio/sleepy-stream.c
similarity index 100%
rename from gio/tests/sleepy-stream.c
rename to tests/gio/sleepy-stream.c
diff --git a/gio/tests/socket-client.c b/tests/gio/socket-client.c
similarity index 100%
rename from gio/tests/socket-client.c
rename to tests/gio/socket-client.c
diff --git a/gio/tests/socket-server.c b/tests/gio/socket-server.c
similarity index 100%
rename from gio/tests/socket-server.c
rename to tests/gio/socket-server.c
diff --git a/gio/tests/srvtarget.c b/tests/gio/srvtarget.c
similarity index 100%
rename from gio/tests/srvtarget.c
rename to tests/gio/srvtarget.c
diff --git a/gio/tests/unix-streams.c b/tests/gio/unix-streams.c
similarity index 100%
rename from gio/tests/unix-streams.c
rename to tests/gio/unix-streams.c



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