Ticket 2570: Code cleanup

Moved tests from lib/tests to tests/lib directory

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
Slava Zanko 2011-07-11 11:22:46 +03:00
parent 9376d55456
commit d3bb9de01f
24 changed files with 10 additions and 8 deletions

View File

@ -3,6 +3,10 @@ AUTOMAKE_OPTIONS = 1.5
SUBDIRS = intl po lib src doc contrib misc SUBDIRS = intl po lib src doc contrib misc
if HAVE_TESTS
SUBDIRS += tests
endif
EXTRA_DIST = EXTRA_DIST =
dist_noinst_SCRIPTS = build-glib2.sh dist_noinst_SCRIPTS = build-glib2.sh

View File

@ -596,10 +596,11 @@ po/Makefile.in
if test x$enable_tests != xno; then if test x$enable_tests != xno; then
AC_CONFIG_FILES([ AC_CONFIG_FILES([
lib/tests/Makefile tests/Makefile
lib/tests/mcconfig/Makefile tests/lib/Makefile
lib/tests/search/Makefile tests/lib/mcconfig/Makefile
lib/tests/vfs/Makefile tests/lib/search/Makefile
tests/lib/vfs/Makefile
]) ])
fi fi

View File

@ -1,9 +1,5 @@
SUBDIRS = event filehighlight mcconfig search skin tty vfs strutil widget . SUBDIRS = event filehighlight mcconfig search skin tty vfs strutil widget .
if HAVE_TESTS
SUBDIRS += tests
endif
if ENABLE_MCLIB if ENABLE_MCLIB
LIB_VERSION=`echo $(LIBMC_VERSION) | \ LIB_VERSION=`echo $(LIBMC_VERSION) | \
tr '.' ' '| \ tr '.' ' '| \

1
tests/Makefile.am Normal file
View File

@ -0,0 +1 @@
SUBDIRS = lib