[libgnome-keyring/gnome-3-0] test-any-daemon is not really a automated test. Rename.



commit 152dc46e742621121ca6aa54ad21996674377c89
Author: Stef Walter <stefw collabora co uk>
Date:   Sun May 22 13:24:43 2011 +0200

    test-any-daemon is not really a automated test. Rename.
    
     * Because it interacts with the currently running session, and can
       have side effects.

 .gitignore                                         |    1 +
 library/tests/Makefile.am                          |    6 ++++--
 .../tests/{test-any-daemon.c => frob-any-daemon.c} |    4 ++--
 3 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index bf96df7..9bd1ee1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -113,6 +113,7 @@ run-auto-test.h
 # /library/tests
 /library/tests/Makefile
 /library/tests/Makefile.in
+/library/tests/frob-any-daemon
 /library/tests/test-any-daemon
 /library/tests/test-prompting
 /library/tests/test-keyrings
diff --git a/library/tests/Makefile.am b/library/tests/Makefile.am
index 1f15d44..8f12c38 100644
--- a/library/tests/Makefile.am
+++ b/library/tests/Makefile.am
@@ -11,13 +11,15 @@ LDADD =  \
 TEST_PROGS = \
 	test-memory \
 	test-keyrings \
-	test-other \
-	test-any-daemon
+	test-other
 
 check_PROGRAMS = \
 	test-prompting \
 	$(TEST_PROGS)
 
+noinst_PROGRAMS = \
+	frob-any-daemon
+
 test: $(TEST_PROGS)
 	gtester -k --verbose $(TEST_PROGS)
 
diff --git a/library/tests/test-any-daemon.c b/library/tests/frob-any-daemon.c
similarity index 95%
rename from library/tests/test-any-daemon.c
rename to library/tests/frob-any-daemon.c
index db40e1f..506317d 100644
--- a/library/tests/test-any-daemon.c
+++ b/library/tests/frob-any-daemon.c
@@ -74,6 +74,6 @@ main (int argc, char **argv)
 		return 0;
 	}
 
-	g_test_add_func ("/any-daemon/create-find-ready-password", test_create_find_read_password);
-	return g_test_run ();
+	test_create_find_read_password ();
+	return 0;
 }



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