Autotesting - GNU Autoconf

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

 



Hi,

When writing test suites in testsuite.at for autotesting I would like to
know how to access the test file names. 
Do we need to give absolute file names for input test files? If so,
migrating to another development enviornment would result test case
failures.
And what is the recommened way to store test files I have used for
autotesting. Will it be inside the test directory of the source code?

For an example in the following test case the input test file name contains
the absolute path. 
AT_SETUP([Test 19])

AT_DATA([experr],
[[/import/eno/2/rnsr312/param-0.3/tests/syntaxerr:8.0: syntax error,
unexpected TOKEN_ID_INT, expecting %% or int or intlist
educt: Syntax error in file.
]])
AT_CHECK([educt --prettyprint
/import/eno/2/rnsr312/param-0.3/tests/syntaxerr],[1],,experr,
[echo Failed],[echo Passed])

AT_CLEANUP

Thanks,

Randima
--
View this message in context: http://www.nabble.com/Autotesting---GNU-Autoconf-t1403574.html#a3777603
Sent from the Gnu - Autoconf - General forum at Nabble.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