Overview of the testrunner.tcl script
mainThe testrunner.tcl script is a Tcl-based utility used to execute multiple SQLite tests in parallel using multiple jobs. It supports running Tcl test scripts and tests triggered via make commands.
Output and Monitoring:
testrunner.log: A log file created in the current working directory containing all test output. Usegrep "^!" testrunner.logorgrep failed testrunner.logto find errors.testrunner.db: A SQLite database containing the state of all tests. You can query it to find failures:SELECT * FROM script WHERE state='failed'.- Status Reporting: Run
./testfixture $(TESTDIR)/testrunner.tcl statusto get a succinct report of the current test state. Usewatch ./testfixture $(TESTDIR)/testrunner.tcl statusto monitor long-running tests in real-time.
grep "^!" testrunner.log
SELECT * FROM script WHERE state='failed'
./testfixture $(TESTDIR)/testrunner.tcl status