[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] [PATCH] AUTOTEST_PATH via AC_CONFIG_TESTDIR
From: |
Chad Walstrom |
Subject: |
[Monotone-devel] [PATCH] AUTOTEST_PATH via AC_CONFIG_TESTDIR |
Date: |
Sat, 17 Sep 2005 00:01:58 -0500 |
I'm not sure if you've tried this or not, but rather than setting
AUTOTEST_PATH in Makefile.am, it can be set as a parameter to
AC_CONFIG_TESTDIR. Here's a patch (from the latest monotone pull)
implements this change.
I'm test compiling the change now, but it's taking a while. ;-)
#
# patch "Makefile.am"
# from [7a233d22f09d1b0d6eb2f010fdbb0cf97461af6c]
# to [9bf84b38ea233ac91f827ebe84131f3aa9935495]
#
# patch "configure.ac"
# from [289e0cb6ea26e1a8e515e7f81626a49e77381d69]
# to [c9f0b22c3ae5144bdbd4176117aeabb550069b6d]
#
================================================================================
--- Makefile.am 7a233d22f09d1b0d6eb2f010fdbb0cf97461af6c
+++ Makefile.am 9bf84b38ea233ac91f827ebe84131f3aa9935495
@@ -380,8 +380,6 @@
TESTS = unit_tests $(srcdir)/testsuite
-TESTS_ENVIRONMENT=AUTOTEST_PATH="."
-
mostlyclean-local:
rm -rf testsuite.dir testsuite.log package_full_revision_dist.txt
================================================================================
--- configure.ac 289e0cb6ea26e1a8e515e7f81626a49e77381d69
+++ configure.ac c9f0b22c3ae5144bdbd4176117aeabb550069b6d
@@ -5,7 +5,7 @@
AC_INIT(monotone, 0.22, address@hidden)
AM_INIT_AUTOMAKE(1.7.1)
AC_CONFIG_SRCDIR([app_state.cc])
-AC_CONFIG_TESTDIR([tests])
+AC_CONFIG_TESTDIR([tests],[.:tests])
AM_CONFIG_HEADER([config.h])
# we have some sse2 code in cryptopp
--
Chad Walstrom <address@hidden> http://www.wookimus.net/
assert(expired(knowledge)); /* core dump */