autoconf
[Top][All Lists]
Advanced

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

Re: Problem Autotesting executables


From: Ralf Wildenhues
Subject: Re: Problem Autotesting executables
Date: Tue, 10 Jan 2006 10:07:09 +0100
User-agent: Mutt/1.5.11

Hi Nathaniel,

* Nathaniel D. Sizemore wrote on Tue, Jan 10, 2006 at 01:34:28AM CET:
> I've a project using Autotest to, well, test executables. :-)  My  
> testsuite.at file looks like the following:
> 
> m4_define([AT_CHECK_FOO], [
> AT_SETUP()
> AT_CHECK([foo], [], [stdout])
> AT_CLEANUP()
> ])
> 
> AT_CHECK_FOO()
> 
> In the example above, foo is an executable that returns 0 on  
> success.  However, when I run this test, it always fails, and I've no  
> idea why.  Looking at the log, 'foo' is indeed running, but Autotest  
> still claims failure.

Can't reproduce this with Autoconf-2.59, sticking only AT_INIT before
your above code, running it through
  autom4te --language=autotest testsuite.at -o testsuite
manually, and making sure an executable named `foo' can be found in
$PATH.

Show testsuite.log.  Something else must be going on.

Cheers,
Ralf




reply via email to

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