TWiki . Dev . WritingAutomatedTests


A test is a procedure that checks some functionality of the Nice compiler.


Each test consists of an executable file. It must be placed in the toplevel directory of the framework. The file name must be of the form: .test Most likely, it will consist of a shell script, that drives the compilation of some code, and returns an exit code to report how it went.


The script can use the following environment variables:

Exit codes


The test script should output on standard out detailed information about the execution of the test. This output will be stored, and can be used to diagnose why a test failed.

-- DanielBonniot - 22 Jun 2003

----- Revision r1.1 - 22 Jun 2003 - 10:06 GMT - DanielBonniot
Copyright © 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback.