Next: , Previous: , Up: Utility Procedures  


6.1.7.6 runtest_file_p Procedure

Search runtests for testcase and return 1 if found, 0 if not. runtests is a list of two elements. The first is a copy of what was on the right side of the = if

foo.exp="..."

was specified, or an empty string if no such argument is present. The second is the pathname of the current testcase under consideration. This is used by tools like compilers where each testcase is a file.

runtest_file_p{runtests testcase}

runtests

The list of patterns to compare against.

testcase

The test case filename.