Skip to content

Commit 8aec929

Browse files
committed
fix TTD tests
1 parent 372cc14 commit 8aec929

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

bin/ch/ch.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -819,12 +819,12 @@ HRESULT ExecuteTest(const char* fileName)
819819
JsContextRef context = JS_INVALID_REFERENCE;
820820
IfJsErrorFailLog(ChakraRTInterface::JsTTDCreateContext(runtime, true, &context));
821821

822+
IfJsErrorFailLog(ChakraRTInterface::JsSetCurrentContext(context));
823+
822824
#if ENABLE_TTD
823825
//We need this here since this context is created in record
824826
IfJsErrorFailLog(ChakraRTInterface::JsSetObjectBeforeCollectCallback(context, nullptr, WScriptJsrt::JsContextBeforeCollectCallback));
825827
#endif
826-
827-
IfJsErrorFailLog(ChakraRTInterface::JsSetCurrentContext(context));
828828
}
829829
else
830830
{

test/rlexedirs.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,6 @@
327327
<tags>exclude_serialized,exclude_jshost,exclude_snap,require_debugger,exclude_sanitize_address</tags>
328328
</default>
329329
</dir>
330-
331-
<!-- Disabled due to 19389588
332330
<dir>
333331
<default>
334332
<files>TTExecuteBasic</files>
@@ -340,8 +338,7 @@
340338
<files>TTBasic</files>
341339
<tags>sequential,exclude_dynapogo,exclude_jshost,exclude_snap,exclude_serialized,require_debugger,exclude_sanitize_address</tags>
342340
</default>
343-
</dir> -->
344-
341+
</dir>
345342
<dir>
346343
<default>
347344
<files>Scanner</files>

0 commit comments

Comments
 (0)