Changes between Version 1 and Version 2 of Development/Testing

Show
Ignore:
Timestamp:
07/23/09 06:32:24 (5 years ago)
Author:
benl (IP: 150.203.160.45)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Development/Testing

    v1 v2  
    1010This tool descends into the given directory tree. 
    1111 
    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 the expected 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. 
    1313 
    1414 * For subdirectories that do not contain a {{{Main.ds}}}, it simply compiles all the other sources there. 
     
    2020== Demos == 
    2121 
    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. 
     22Bigger 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 
    2323 
     24{{{ 
     25$ bin/war2 demo 
     26}}} 
     27 
     28You 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}}}