autoconf
[Top][All Lists]
Advanced

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

AT_line undefined when trying to use autotest


From: Christopher Hulbert
Subject: AT_line undefined when trying to use autotest
Date: Fri, 22 Feb 2008 16:18:52 -0500

I'm looking into converting some existing test methods to use
autotest. In doing so I ran into a problem that autom4te complained
AT_line was undefined. Attached a source tree as minimal as  I cared
to make it that tries to exhibit the problem I'm getting. I'm not sure
if one of these exists already, but a minimal example of using
autotest seems like it'd be valuable. I've been using autoconf,
automake, and libtool for quite some time, but autotest has been quite
a trial.

Here is the log of trying to build the tree.

address@hidden test_at]$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: creating ./config.status
config.status: creating tests/Makefile
config.status: creating Makefile
config.status: executing tests/atconfig commands
address@hidden test_at]$ make
Making all in tests
make[1]: Entering directory `/work/chulbert/test_at/tests'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/work/chulbert/test_at/tests'
Making all in .
make[1]: Entering directory `/work/chulbert/test_at'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/work/chulbert/test_at'
address@hidden test_at]$ make check
Making check in tests
make[1]: Entering directory `/work/chulbert/test_at/tests'
make  check-local
make[2]: Entering directory `/work/chulbert/test_at/tests'
autom4te --language=Autotest -I '.' testsuite.at -o testsuite.tmp
testsuite.at:7: error: m4_defn: undefined macro: AT_line
testsuite.at:7: the top level
autom4te: /usr/local/bin/m4 failed with exit status: 1
make[2]: *** [testsuite] Error 1
make[2]: Leaving directory `/work/chulbert/test_at/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/work/chulbert/test_at/tests'
make: *** [check-recursive] Error 1

Attachment: test_at.tar.gz
Description: GNU Zip compressed data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]