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

JSTests::Fundamental unit test fails on Spidermonkey

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.4.0-rc2
    • Testing Infrastructure
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: