• Show log

    Commit

  • Hash : b81dd80e
    Author : Shawn O. Pearce
    Date : 2008-11-03T18:38:12

    Change test_main to run a single test case out of the suite
    
    By passing the name of the test function on the command line
    we execute exactly that one test, and then exit successfully
    if the test did not fail.  This permits multiple functions in
    the same .c file, so they could be called from a shell script
    or debugged independently externally.
    
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>