Problem Autotesting executables

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

 



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. I've tried changing the AT_CHECK macro to things such as

AT_CHECK([foo], [0], [stdout])
AT_CHECK([foo], [], [])

all to no avail. I'm probably doing something trivially wrong, but I can't seem to find it.

Autoconf 2.59, if you've wondering. :-)  Thanks for the assistance!

--
Nathaniel D. Sizemore, Technical Staff
Tech-X Corporation | 5621 Arapahoe Ave Suite A | Boulder, CO  80303
E: sizemore@xxxxxxxxxx  P: (720) 974-1846  W: http://www.txcorp.com



_______________________________________________
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