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

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
Zoltan Herczeg
2018-06-15 09:31:48 +02:00
committed by yichoi
parent bc827cb497
commit 1044523af7
8 changed files with 59 additions and 15 deletions
+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 ();