Recent Changes - Search:

edit SideBar

RunCgTests

Back to Mbed

It may be useful to run tests on the code generator to make sure that nothing was broken with a change that was made. To check run the following commands from cg folder:

    cd $PTII/ptolemy/cg
    make tests >& t1.out

Run this for a while. Then after the changes are made, run another test:

    make tests >& t2.out
    grep "^Failed: [1-9]" t1.out >& t1.summary
    grep "^Failed: [1-9]" t2.out >& t2.summary

Then to compare

    diff t1.summary t2.summary
Edit - History - Print - Recent Changes - Search
Page last modified on March 09, 2015, at 09:31 pm