From 7c34a2124988db1665d343666716b6f08d89b7b7 Mon Sep 17 00:00:00 2001 From: Thomas James Alexander Thurman Date: Mon, 19 Jan 2009 21:28:00 +0000 Subject: New branch for testing svn path=/branches/veracity/; revision=4078 --- Makefile.am | 2 +- configure.in | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 725c69c9..8e86ced8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,5 @@ -SUBDIRS=src po doc +SUBDIRS=src po doc test EXTRA_DIST = HACKING MAINTAINERS rationales.txt \ intltool-extract.in intltool-merge.in intltool-update.in diff --git a/configure.in b/configure.in index 554ac1fd..097ade07 100644 --- a/configure.in +++ b/configure.in @@ -158,6 +158,11 @@ AC_ARG_ENABLE(shape, [disable metacity's use of the shaped window extension]),, enable_shape=auto) +AC_ARG_ENABLE(veracity, + AC_HELP_STRING([--enable-veracity], + [enable metacity test suite]),, + enable_veracity=auto) + ## try definining HAVE_BACKTRACE AC_CHECK_HEADERS(execinfo.h, [AC_CHECK_FUNCS(backtrace)]) @@ -240,6 +245,15 @@ else echo "Building without compositing manager" fi +if test x$enable_veracity = xyes; then + METACITY_PC_MODULES="$METACITY_PC_MODULES guile-1.8" + echo "Building test suite" + use_veracity=yes +else + use_veracity=no +fi +AM_CONDITIONAL(BUILD_TESTS, test x$build_tests = xyes) + ## if no compositor, still possibly enable render if test x$have_xcomposite = xno; then XRENDER_VERSION=0.0 @@ -501,7 +515,10 @@ src/wm-tester/Makefile src/libmetacity-private.pc src/tools/Makefile src/themes/Makefile +$veracity_makefile po/Makefile.in +test/Makefile +test/veracity/Makefile ]) AC_OUTPUT @@ -540,6 +557,8 @@ metacity-$VERSION: Xsync: ${found_xsync} Render: ${have_xrender} Xcursor: ${have_xcursor} + + Build test suite: ${use_veracity} " METACITY_MINOR_VERSION=metacity_minor_version -- cgit v1.2.1