Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-8828

JSTests::Fundamental unit test fails on Spidermonkey

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0-rc2
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Operating System:
      ALL

      Description

      JSTests::Fundamental calls the tests that come with the interpreter. For Spidermonkey these are in the runTest() function in engine_spidermonkey.cpp.

      Verified that this worked at least before --usev8 was the default.

      To reproduce:

      Compile latest version:

      scons --usesm=USESM test
      

      Run javascript unit tests:

      ./test js
      

      Error output:

      ...
      Fri Mar  1 15:10:18.641 [testsuite]      going to run test: JSTests::Fundamental
      Fri Mar  1 15:10:18.657 [testsuite] FAIL: JSTests::Fundamental     std::exception: (anon) exec failed: JS Error: ReferenceError: verify is not defined (anon):1 in test JSTests::Fundamental
      ...
      

        Attachments

          Activity

            People

            Assignee:
            benjamin.becker Ben Becker
            Reporter:
            sverch Shaun Verch
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: