Re: Problem Autotesting executables

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

 



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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux