- 
    Type:
Bug
 - 
    Resolution: Done
 - 
    Priority:
Major - P3
 - 
    Affects Version/s: None
 - 
    Component/s: Testing Infrastructure
 - 
    None
 
- 
        ALL
 - 
        None
 
- 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 
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 ...