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

JSTests::Fundamental unit test fails on Spidermonkey

    • ALL

      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
      ...
      

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

              Created:
              Updated:
              Resolved: