1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/usr/bin/env php <?php require 't/Search.inc'; $db = buildTestDatabase( array( 'page', 'revision', 'text', 'searchindex' ) ); if( is_null( $db ) ){ fail( 'no db' ); exit(); } $t = new SearchEngineTest( new SearchMySQL( $db ) ); $t->run(); /* vim: set filetype=php: */