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, [email protected])
 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 <[EMAIL PROTECTED]>           http://www.wookimus.net/
           assert(expired(knowledge)); /* core dump */



_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to