Next: , Up: Extending DejaGnu  


4.1 Adding a new testsuite

The testsuite for a new tool should always be located in that tools source directory. DejaGnu require the directory be named testsuite. Under this directory, the test cases go in a subdirectory whose name begins with the tool name. For example, for a tool named gdb, each subdirectory containing testsuites must start with ‘gdb.’.