Skip to content

Instantly share code, notes, and snippets.

@JoelMarcey
Created December 19, 2013 00:37
Show Gist options
  • Save JoelMarcey/8032369 to your computer and use it in GitHub Desktop.
Save JoelMarcey/8032369 to your computer and use it in GitHub Desktop.
Latest HHVM optimized build phpbb3 parser_test.php phpunit test run.
~/local/fbcode-opt/hphp/test/frameworks/frameworks/phpbb3] hhvm ../../vendor/bin/phpunit tests/bbcode/parser_test.php
PHPUnit 3.7.24 by Sebastian Bergmann.
Configuration read from /data/users/joelm/fbcode-opt/hphp/test/frameworks/frameworks/phpbb3/phpunit.xml.dist
.........F...............................I
Time: 4.86 seconds, Memory: 17.66Mb
There was 1 failure:
1) phpbb_bbcode_parser_test::test_bbcode_firstpass with data set #9 ('Test default bbcodes: simple php code', '[code=php]unparsed code[/code]', '[code=php:]<span class="syntaxdefault">unparsed&nbsp;code</span>[/code:]')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'[code=php:]<span class="syntaxdefault">unparsed&nbsp;code</span>[/code:]'
+Binary String: 0x5b636f64653d7068703a5d3c7370616e20636c6173733d2223303030303030223e0a3c7370616e20636c6173733d2223303030304242223e266c743b3f706870732f7068706262332f70687042422f696e636c756465732f6d6573736167655f7061727365722e7068703a3a627f0000800c994fc87f0000800f
/data/users/joelm/fbcode-opt/hphp/test/frameworks/frameworks/phpbb3/tests/bbcode/parser_test.php:263
/data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php:176
/data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php:129
FAILURES!
Tests: 42, Assertions: 41, Failures: 1, Incomplete: 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment