[gnome-games] drop the single unit test left in tests. Drops the dependency on Check



commit 474bd9502e9c60f41f7ecc5e6e173213f11e95ec
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date:   Tue Oct 27 22:50:52 2009 +0100

    drop the single unit test left in tests. Drops the dependency on Check

 Makefile.am                                    |    6 +--
 README                                         |   19 ------
 configure.in                                   |   22 -------
 tests/ChangeLog.old                            |    4 -
 tests/Makefile.am                              |    5 --
 tests/README                                   |   37 ------------
 tests/libgames-support/Makefile.am             |   34 -----------
 tests/libgames-support/test-libgames-support.c |   71 ------------------------
 8 files changed, 1 insertions(+), 197 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 245e987..29e7cf4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -12,11 +12,7 @@ if ENABLE_SOUND
 SUBDIRS += sounds
 endif
 
-if ENABLE_TESTS
-SUBDIRS += tests
-endif
-
-DIST_SUBDIRS = po icons sounds libgames-support tests $(allgames) $(staginggames)
+DIST_SUBDIRS = po icons sounds libgames-support $(allgames) $(staginggames)
 
 DISTCHECK_CONFIGURE_FLAGS = \
 	--with-platform=gnome \
diff --git a/README b/README
index 7ec8a95..7d87bfd 100644
--- a/README
+++ b/README
@@ -14,7 +14,6 @@ Contents
 - Bug Reports
 - Requirements
 - Building Gnome-Games
-- Testing Gnome-Games
 - Network Games
 - Security Issues
 - The Future
@@ -316,24 +315,6 @@ If you are compiling gnome-games from CVS you should look at:
 http://www.gnome.org/projects/gnome-games/contributing.html
 
 
-Testing Gnome-Games
--------------------
-
-gnome-games supports the unit testing framework Check, which provides
-unit tests to verify that the code in gnome-games is correct.
-
-To run these the unit tests, enter the command: 'make check'
-which will run all the unit tests in the tests subdirectory.  
-
-When you are submitting a change to gnome-games, make sure that
-the tests still run without errors after you have done your changes.
-Bugfixes could also be supplied with a new unit test which
-checks for the bug, so that it will not return (regression testing).
-
-See the README file in the tests subdirectory for more information
-about unit testing in gnome-games.
-
-
 Network Games
 --------------------
 
diff --git a/configure.in b/configure.in
index 7601c76..8c76da7 100644
--- a/configure.in
+++ b/configure.in
@@ -1010,25 +1010,6 @@ GNOME_DOC_INIT([0.10.0],
 
 AM_CONDITIONAL([BUILD_HELP],[test "$with_help_method" = "ghelp"])
 
-# **********
-# Unit tests
-# **********
-
-AC_ARG_ENABLE([tests],
-  [AS_HELP_STRING([--disable-tests], [disable building test apps (default: platform dependent)])],
-  [],
-  [case "$with_platform" in
-    hildon) enable_tests=no ;;
-    *) enable_tests=yes ;;
-   esac])
-
-if test "$enable_tests" = "yes"; then
-  PKG_CHECK_MODULES([CHECK],[check >= 0.9.4],
-    [],[AC_MSG_ERROR([check not found; install it or use --disable-tests])])
-fi
-
-AM_CONDITIONAL([ENABLE_TESTS],[test "$enable_tests" = "yes"])
-
 # *************
 # setgid checks
 # *************
@@ -1184,8 +1165,6 @@ lightsoff/src/Path.js
 lightsoff/data/themes/Makefile
 lightsoff/data/themes/tango/Makefile
 lightsoff/data/themes/up/Makefile
-tests/Makefile
-tests/libgames-support/Makefile
 ])
 AC_OUTPUT
 
@@ -1215,7 +1194,6 @@ echo "
     Use setgid binaries:   ${enable_setgid}
     Scores user:           ${scores_user}
     Scores & setgid group: ${scores_group}
-    Tests enabled:         ${enable_tests}
     Binreloc:              ${enable_binreloc}
     Introspection data:    ${enable_introspection}
 "



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