Print which file we are running parsertests for
authorDerk-Jan Hartman <hartman.wiki@gmail.com>
Thu, 7 Jan 2016 08:36:17 +0000 (00:36 -0800)
committerDerk-Jan Hartman <hartman.wiki@gmail.com>
Thu, 7 Jan 2016 08:36:17 +0000 (00:36 -0800)
I spent half an hour searching which extension was causing a crash in
my parser tests. Printing the filename seems like a handy plan here...

Change-Id: I09558101be15e92eeb3841f8f4198c2bc01f3e9d

tests/parser/parserTest.inc

index 6a6d447..320acfe 100644 (file)
@@ -512,6 +512,7 @@ class ParserTest {
                        $ok = true;
 
                        foreach ( $filenames as $filename ) {
+                               echo "Running parser tests from: $filename\n";
                                $tests = new TestFileIterator( $filename, $this );
                                $ok = $this->runTests( $tests ) && $ok;
                        }