Usage: php -f ubertest.php [OPTIONS] [TESTDIRS ...] Modes are: g, gen generate reference ('model') test results t, test run tests and compare results to reference qt same as test, but skips user-configured slow tests Options are: -u, --user use 'USER' as MySQL user -p, --password use 'PASS' as MySQL password -i, --indexer path to indexer -s, --searchd path to searchd --strict terminate on the first failure (for automatic runs) --strict-verbose terminate on the first failure and copy the last report to report.txt (for automatic runs) --managed don't run searchd during test (for debugging) --skip-indexer skip DB creation and indexer stages and go directly to queries/custom tests --rt test RT backend (auto-convert all local indexes) --no-drop-db Keep test db tables after the test (for debugging) --no-demo Just skip all tests without models. Else - run them, but never fail (for debugging) --no-marks Don't mark the output of every test in the logs. --ignore-weights Ignore differences in weights. (Useful for testing that reference database changes are ok.) --cwd change directory to ubertest.php location (for git bisect) Environment variables are: DBUSER use 'USER' as MySQL user DBPASS use 'PASS' as MySQL password Tests can be specified by full name, or list of IDs, or range of IDs. Usage examples: php ubertest.php gen php ubertest.php t --user test --password test php ubertest.php t test_015 php ubertest.php t 31 37 41 53-64 DBPASS=test make check