By default, runtest prints only the names of the tests it runs, output from any tests that have unexpected results, and a summary showing how many tests passed and how many failed. See section Using runtest , for a more detailed explanation of each runtest option. See section The files DejaGnu writes . Though brief, this example is a complete test. Only the action for the first matching pattern will execute.
Test cases use the commands pass and fail to record the test outcome.
Design goals DejaGnu grew out of the internal needs of Cygnus Support. Some of the requirements proved challenging. For example, interactive programs do not lend themselves very well to automated testing. Most cross-development environments are customized by each developer. Even when buying packaged boards from vendors there are many differences.