Next: , Up: Extending DejaGnu   [Contents][Index]


5.1 Adding a new testsuite

The testsuite for a new package should always be located in the source directory of that package. DejaGnu requires this directory to be named testsuite. Under this directory, the test cases go in various subdirectories whose name begins with the tool name. The organization of the various testsuite subdirectories is up to you. For a tool named gdb, for instance, each subdirectory containing tests must start with ‘gdb.’.