Add operational mode for jerry_gc API call. (#2385)

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
This commit is contained in:
Zoltan Herczeg authored and yichoi committed 2018-06-15 16:31:48 +09:00
1 parent bc827cb497
commit 1044523af7
8 files changed
+59 -15

No files matched your search

+1 -1
View File
@@ -57,7 +57,7 @@ main (void)
native_free_cb_call_count = 0;
test_autorelease_val ();
jerry_gc ();
jerry_gc (JERRY_GC_SEVERITY_HIGH);
TEST_ASSERT (native_free_cb_call_count == 1);
jerry_cleanup ();