Index: trunk/phase3/maintenance/tests/CdbTest.php |
— | — | @@ -6,6 +6,12 @@ |
7 | 7 | |
8 | 8 | class CdbTest extends PHPUnit_Framework_TestCase { |
9 | 9 | |
| 10 | + public function setup() { |
| 11 | + if ( !CdbReader::haveExtension() ) { |
| 12 | + $this->markTestIncomplete( 'This test requires native CDB support to be present.' ); |
| 13 | + } |
| 14 | + } |
| 15 | + |
10 | 16 | public function testCdb() { |
11 | 17 | $w1 = new CdbWriter_PHP( 'php.cdb' ); |
12 | 18 | $w2 = new CdbWriter_DBA( 'dba.cdb' ); |