https://bugzilla.wikimedia.org/show_bug.cgi?id=68668

            Bug ID: 68668
           Summary: hhvm: assertions in LuaSandbox: UstringLibraryTests
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Keywords: hiphop
          Severity: normal
          Priority: Unprioritized
         Component: Scribunto
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
            Blocks: 67216
       Web browser: ---
   Mobile Platform: ---

$ php --version
HipHop VM 3.3.0-dev (rel)
Compiler: heads/wikimedia-0-g8b842db4e2db664a9b4d543047ae154a6dd59de6
Repo schema: ce469da81c1d8ec23f3a4aa889afadad8df5a759

Not present when running with php5:

vagrant@nemobis:/srv/vagrant/mediawiki/tests/phpunit$ php phpunit.php
suites/ExtensionsTestSuite.php 

PHPUnit 3.7.37 by Sebastian Bergmann.

6) LuaSandbox: Scribunto_LuaSandboxTests::testArgumentParsingTime
Recursive argument access time was counted
Failed asserting that 0.198574402 is greater than 0.25.

/srv/vagrant/mediawiki/extensions/Scribunto/tests/engines/LuaSandbox/SandboxTest.php:75
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42
/srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160

7) LuaSandbox: UstringLibraryTests[131]: gmatch: test string 1
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-[iteration 1]:
-{
-  "foo",
-}

-[iteration 2]:
-{
-  "főó",
-}
-
-[iteration 3]:
-{
-  "foó",
-}
-
-[iteration 4]:
-{
-  "foooo",
-}
-
-[iteration 5]:
-{
-  "foofoo",
-}
-
-[iteration 6]:
-{
-  "fo",
-}

/srv/vagrant/mediawiki/extensions/Scribunto/tests/engines/LuaCommon/LuaEngineTestBase.php:252
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42
/srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160

8) LuaSandbox: UstringLibraryTests[132]: gmatch: test string 2
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-[iteration 1]:
-{
-  "foo",
-}

-[iteration 2]:
-{
-  "főó",
-}
-
-[iteration 3]:
-{
-  "foó",
-}
-
-[iteration 4]:
-{
-  "foooo",
-}
-
-[iteration 5]:
-{
-  "foofoo",
-}
-
-[iteration 6]:
-{
-  "fo",
-}

/srv/vagrant/mediawiki/extensions/Scribunto/tests/engines/LuaCommon/LuaEngineTestBase.php:252
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42
/srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160

9) LuaSandbox: UstringLibraryTests[133]: gmatch: anchored
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-[iteration 1]:
-{
-  "^fóó2",
-}

-[iteration 2]:
-{
-  "^fóó4",
-}

/srv/vagrant/mediawiki/extensions/Scribunto/tests/engines/LuaCommon/LuaEngineTestBase.php:252
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42
/srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to