-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Hi All,
ChakraCore failed to run tests with 2 failures on windows with MSVC. This issue can be reproduced on latest version 385409e, could you please look at this issue?
Repro steps:
- git clone https://github.com/microsoft/ChakraCore F:\gitP\microsoft\ChakraCore
- Open a vs2019 x64 command prompt.
- cd F:\gitP\microsoft\ChakraCore
- msbuild /m /p:Platform=x64 /p:Configuration=Test /p:WindowsTargetPlatformVersion=10.0.18362.0 Build\Chakra.Core.sln /t:Rebuild
- cd F:\gitP\microsoft\ChakraCore\test
- set NUM_RL_THREADS=10
- set WindowsSDKVersion=10.0.18362.0
- runtests -x64test
Build log:
run_test.log
Error info:
10>ERROR: Test failed to run correctly: diffs from baseline (F:\gitP\microsoft\ChakraCore\test\Error\errorCtor_v4.baseline):
10> ch.exe -WERExceptionSupport -ExtendedErrorStackForTestHost -BaselineMode -forceNative -off:simpleJit -bgJitDelay:0 -dynamicprofileinput:profile.dpl.UnnamedTest568 -ExtendedErrorStackForTestHost F:\gitP\microsoft\ChakraCore\test\Error\errorCtor.js >F:\gitP\microsoft\ChakraCore\test\Error\testout440 2>&1
10>ERROR: name of output file: F:\gitP\microsoft\ChakraCore\test\Error\testout440; size: 21662; creation: Thu Jun 24 23:56:45 2021, last access: Thu Jun 24 23:56:45 2021, now: Thu Jun 24 23:56:46 2021
10>ERROR: bad output file follows ============
10>-----------------------------------------
10>Error()
10>message = (string)
10>name = Error (string)
10>number = undefined (undefined)
10>stack = Error
10> at eval code (eval code:1:1)
10> at Test(string, string) (errorCtor.js:68:5)
10> at TestCtor(string) (errorCtor.js:75:5)
10> at Global code (errorCtor.js:111:1)(string)
10>-----------------------------------------
10>Error(NaN, NaN)
10>message = NaN (string)
10>name = Error (string)
10>number = undefined (undefined)
10>stack = Error: NaN
10> at eval code (eval code:1:1)
10> at Test(string, string) (errorCtor.js:68:5)
10> at TestCtor(string) (errorCtor.js:78:5)
10> at Global code (errorCtor.js:111:1)(string)
10>-----------------------------------------
...
Summary: F:\gitP\microsoft\ChakraCore\test had 2217 tests; 2 failures
-- runtests.cmd >> Tests failed. See logs for details.
-- runtests.cmd >> exiting with exit code 1