摘要 |
PURPOSE:To obtain a unitary test source file by preparing a test function file and a non-executing NOP function file and selecting these two function files to compile them after description in a macro evolving sentence. CONSTITUTION:A test function file 60 corresponding to a conventional print sentence and a NOP function file 61 of the same name are prepared for a source program described in a high-grade language free from a debug environment. In a test executing state the test function equivalent to a test print sentence is inserted to a test subject source file 1 and at the same time the file 60 is described in a macro evolving sentence and compiled. Thus a test executing form program is produced for execution and debug. When a test is over, the file 61 is described in a macro evolving sentence and compiled. In such a way, a file can be compiled just by changing the macro evolving sentence and a unitary test source file is obtained.
|