Changes between Version 1 and Version 2 of Development/Testing
- Timestamp:
- 07/23/09 06:32:24 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Development/Testing
v1 v2 10 10 This tool descends into the given directory tree. 11 11 12 * For subdirectories containing a main {{{Main.ds}}} file, it builds and runs that program. If there is also a {{{Main.stdout}}} file, then checks the programs output against theexpected output. If there is any difference it prompts the user whether to stop testing, or update the expected output.12 * For subdirectories containing a main {{{Main.ds}}} file, it builds and runs that program. The resulting executable is named {{{Main.bin}}} and placed in the same directory as the source. If there is also a {{{Main.stdout}}} file, then checks the program's output against this expected output. If there is any difference it prompts the user whether to stop testing, or update the expected output. 13 13 14 14 * For subdirectories that do not contain a {{{Main.ds}}}, it simply compiles all the other sources there. … … 20 20 == Demos == 21 21 22 Bigger programs are located in the {{{demos}}} directory. These programs may open X windows, access the network, or take longer to complete. They're primarily for demonstrating coolness, but are also useful for testing compiler changes against. 22 Bigger programs are located in the {{{demos}}} directory. These programs may open X windows, access the network, or take longer to complete. They're primarily for demonstrating coolness, but are also useful for testing compiler changes against. The {{{war2}}} test driver can also be used to run them 23 23 24 {{{ 25 $ bin/war2 demo 26 }}} 27 28 You can also compile and run demos individually with something like: 29 30 {{{ 31 $ bin/ddc -O -make demo/Graphics/Styrene/Main.ds -o styrene 32 $ ./styrene 33 }}}
