diff --git a/bundle.json b/bundle.json index 6bbeaf579859c02e49389b020b4ac9ac98fcfbc8..853c09c5bbc7bbbfb9736e610ec3fc1f6f6610b4 100644 --- a/bundle.json +++ b/bundle.json @@ -52,7 +52,7 @@ "rom": "", "ram": "", "deps": { - "components": [], + "components": ["bounds_checking_function"], "third_party": [] }, "build": { diff --git a/tests/unit-core/BUILD.gn b/tests/unit-core/BUILD.gn index b14804fa7741d91320665bb8dea3a11ec9734f31..b4b2991318d43313ddca33ca236b6a4064770911 100755 --- a/tests/unit-core/BUILD.gn +++ b/tests/unit-core/BUILD.gn @@ -18,7 +18,6 @@ import("//third_party/jerryscript/tests/test_helper.gni") host_unittest_action("TddTest") { module_out_path = module_output_path include_dirs = [ - "//commonlibrary/c_utils/base/include", "${core_path}/include", "${core_path}/api", "${core_path}/debugger", @@ -53,16 +52,15 @@ host_unittest_action("TddTest") { "${core_path}/ecma/builtin-objects", "//commonlibrary/utils_lite/memory/include", "//commonlibrary/utils_lite/include", - "//third_party/googletest/googletest/include/gtest", - "//third_party/googletest/include", - "//commonlibrary/c_utils/base/include", - "//third_party/node/src", ] - configs = [ "//third_party/bounds_checking_function:libsec_public_config" ] + + external_deps = [ + "bounds_checking_function:libsec_static", + "googletest:gtest", + "googletest:gtest_main", + ] + deps = [ - "//third_party/bounds_checking_function:libsec_static", - "//third_party/googletest:gtest", - "//third_party/googletest:gtest_main", "//third_party/jerryscript:jerry", "//third_party/jerryscript:jerry-snapshot", "//third_party/jerryscript:libjerryscript", @@ -155,3 +153,21 @@ group("jerry_tdd_host_test") { testonly = true deps = [ ":TddTestAction" ] } + +#jerry es2015 test for host running +group("jerry_host_jstest_es2015") { + testonly = true + deps = [ + "//third_party/jerryscript/tests/jerry:jerry_host_js_test_es2015", + "//third_party/jerryscript/tests/unit-core:jerry_tdd_host_test", + ] +} + +#jerry es5.1 test for host running +group("jerry_host_jstest_es5.1") { + testonly = true + deps = [ + "//third_party/jerryscript/tests/jerry:jerry_host_js_test_es5.1", + "//third_party/jerryscript/tests/unit-core:jerry_tdd_host_test", + ] +} \ No newline at end of file