# # # patch "notes/README.testing" # from [cb219cfba2f16ea74a9def77b8fd53e35bbf411b] # to [f3ee88ba2456a329490e7e8f671d9d9069a7b23f] # ============================================================ --- notes/README.testing cb219cfba2f16ea74a9def77b8fd53e35bbf411b +++ notes/README.testing f3ee88ba2456a329490e7e8f671d9d9069a7b23f @@ -23,6 +23,10 @@ Running tests: - summary of test logs in tester_dir/tester.log - details of test logs in tester_dir//tester.log +- './run_tester_tests --help' describes how to run the tester progam's tests +- './run_unit_tests --help' describes how to run the c++ unit tests +- './run_lua_tests --help' describes how to run the lua test suite + Creating tests: --------------- - Copy and paste is your friend :) @@ -46,3 +50,11 @@ xfail_if(true, mtn("foobar"), 0) -- we want "mtn foobar" to work, but since we know it doesn't -- we tell the test program that this is expected to fail xfail_if(true, mtn("foobar"), 0) + +Debugging +--------- + +compile with -O0 +run the offending command under gdb +put a breakpoint on 'sanity::invar (note the leading single quote) +