parent
c13f46c7c5
commit
7d2a746090
@ -116,21 +116,6 @@ jobs:
|
|||||||
- "~/bazel_repository_cache"
|
- "~/bazel_repository_cache"
|
||||||
|
|
||||||
# Temporary job to test what will happen when we flip the Ivy flag to true
|
# Temporary job to test what will happen when we flip the Ivy flag to true
|
||||||
test_ivy_jit:
|
|
||||||
<<: *job_defaults
|
|
||||||
resource_class: xlarge
|
|
||||||
steps:
|
|
||||||
- checkout:
|
|
||||||
<<: *post_checkout
|
|
||||||
- restore_cache:
|
|
||||||
key: *cache_key
|
|
||||||
- *define_env_vars
|
|
||||||
- *setup_circleci_bazel_config
|
|
||||||
- *yarn_install
|
|
||||||
- *setup_bazel_remote_execution
|
|
||||||
|
|
||||||
- run: yarn test-ivy-jit //...
|
|
||||||
|
|
||||||
test_ivy_aot:
|
test_ivy_aot:
|
||||||
<<: *job_defaults
|
<<: *job_defaults
|
||||||
resource_class: xlarge
|
resource_class: xlarge
|
||||||
@ -416,7 +401,6 @@ workflows:
|
|||||||
jobs:
|
jobs:
|
||||||
- lint
|
- lint
|
||||||
- test
|
- test
|
||||||
- test_ivy_jit
|
|
||||||
- test_ivy_aot
|
- test_ivy_aot
|
||||||
- build-packages-dist
|
- build-packages-dist
|
||||||
- test_aio
|
- test_aio
|
||||||
@ -454,7 +438,6 @@ workflows:
|
|||||||
requires:
|
requires:
|
||||||
# Only publish if tests and integration tests pass
|
# Only publish if tests and integration tests pass
|
||||||
- test
|
- test
|
||||||
- test_ivy_jit
|
|
||||||
- test_ivy_aot
|
- test_ivy_aot
|
||||||
- integration_test
|
- integration_test
|
||||||
# Only publish if `aio`/`docs` tests using the locally built Angular packages pass
|
# Only publish if `aio`/`docs` tests using the locally built Angular packages pass
|
||||||
|
@ -26,8 +26,6 @@
|
|||||||
"update-webdriver": "webdriver-manager update --gecko false $CHROMEDRIVER_VERSION_ARG",
|
"update-webdriver": "webdriver-manager update --gecko false $CHROMEDRIVER_VERSION_ARG",
|
||||||
"check-env": "gulp check-env",
|
"check-env": "gulp check-env",
|
||||||
"commitmsg": "node ./scripts/git/commit-msg.js",
|
"commitmsg": "node ./scripts/git/commit-msg.js",
|
||||||
"test-ivy-jit": "bazel test --define=compile=jit --build_tag_filters=-no-ivy-jit,-fixme-ivy-jit --test_tag_filters=-no-ivy-jit,-fixme-ivy-jit",
|
|
||||||
"test-fixme-ivy-jit": "bazel test --define=compile=jit --build_tag_filters=-no-ivy-jit --test_tag_filters=-no-ivy-jit",
|
|
||||||
"test-ivy-aot": "bazel test --define=compile=aot --build_tag_filters=-no-ivy-aot,-fixme-ivy-aot --test_tag_filters=-no-ivy-aot,-fixme-ivy-aot",
|
"test-ivy-aot": "bazel test --define=compile=aot --build_tag_filters=-no-ivy-aot,-fixme-ivy-aot --test_tag_filters=-no-ivy-aot,-fixme-ivy-aot",
|
||||||
"test-fixme-ivy-aot": "bazel test --define=compile=aot --build_tag_filters=-no-ivy-aot --test_tag_filters=-no-ivy-aot",
|
"test-fixme-ivy-aot": "bazel test --define=compile=aot --build_tag_filters=-no-ivy-aot --test_tag_filters=-no-ivy-aot",
|
||||||
"bazel": "bazel"
|
"bazel": "bazel"
|
||||||
@ -144,4 +142,4 @@
|
|||||||
"vrsource-tslint-rules": "5.1.1",
|
"vrsource-tslint-rules": "5.1.1",
|
||||||
"webpack": "1.12.9"
|
"webpack": "1.12.9"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -26,7 +26,6 @@ jasmine_node_test(
|
|||||||
],
|
],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -21,7 +21,6 @@ jasmine_node_test(
|
|||||||
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"fixme-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
@ -33,7 +32,6 @@ ts_web_test_suite(
|
|||||||
name = "test_web",
|
name = "test_web",
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"fixme-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
|
@ -23,7 +23,6 @@ jasmine_node_test(
|
|||||||
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"fixme-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
@ -35,7 +34,6 @@ ts_web_test_suite(
|
|||||||
name = "test_web",
|
name = "test_web",
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"fixme-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
|
@ -13,7 +13,6 @@ ng_module(
|
|||||||
module_name = "app_built",
|
module_name = "app_built",
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/compiler-cli/integrationtest/bazel/injectable_def/lib2",
|
"//packages/compiler-cli/integrationtest/bazel/injectable_def/lib2",
|
||||||
|
@ -12,7 +12,6 @@ ts_library(
|
|||||||
),
|
),
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/compiler-cli/integrationtest/bazel/injectable_def/app",
|
"//packages/compiler-cli/integrationtest/bazel/injectable_def/app",
|
||||||
@ -27,7 +26,6 @@ jasmine_node_test(
|
|||||||
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
|
@ -21,7 +21,6 @@ jasmine_node_test(
|
|||||||
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"fixme-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
|
@ -12,7 +12,6 @@ ng_module(
|
|||||||
node_modules = "@ngdeps//typescript:typescript__typings",
|
node_modules = "@ngdeps//typescript:typescript__typings",
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
@ -36,6 +35,5 @@ jasmine_node_test(
|
|||||||
data = [":flat_module_index"],
|
data = [":flat_module_index"],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
@ -44,7 +44,6 @@ jasmine_node_test(
|
|||||||
],
|
],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":extract_i18n_lib",
|
":extract_i18n_lib",
|
||||||
@ -82,7 +81,6 @@ jasmine_node_test(
|
|||||||
],
|
],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":ngc_lib",
|
":ngc_lib",
|
||||||
@ -117,7 +115,6 @@ jasmine_node_test(
|
|||||||
],
|
],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":ngtools_api_lib",
|
":ngtools_api_lib",
|
||||||
|
@ -39,7 +39,6 @@ jasmine_node_test(
|
|||||||
],
|
],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":check_types_lib",
|
":check_types_lib",
|
||||||
@ -73,7 +72,6 @@ jasmine_node_test(
|
|||||||
],
|
],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":expression_diagnostics_lib",
|
":expression_diagnostics_lib",
|
||||||
|
@ -27,7 +27,6 @@ jasmine_node_test(
|
|||||||
],
|
],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
|
@ -76,7 +76,6 @@ jasmine_node_test(
|
|||||||
],
|
],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"fixme-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
@ -92,7 +91,6 @@ ts_web_test_suite(
|
|||||||
name = "test_web",
|
name = "test_web",
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"fixme-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
|
@ -53,7 +53,6 @@ jasmine_node_test(
|
|||||||
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"fixme-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
@ -71,7 +70,6 @@ ts_web_test_suite(
|
|||||||
name = "test_web",
|
name = "test_web",
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"fixme-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
|
@ -9,7 +9,6 @@ ng_module(
|
|||||||
srcs = ["index.ts"],
|
srcs = ["index.ts"],
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
type_check = False, # see #26462
|
type_check = False, # see #26462
|
||||||
deps = [
|
deps = [
|
||||||
@ -30,7 +29,6 @@ ng_rollup_bundle(
|
|||||||
entry_point = "packages/core/test/bundling/animation_world/index.js",
|
entry_point = "packages/core/test/bundling/animation_world/index.js",
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":animation_world",
|
":animation_world",
|
||||||
@ -45,7 +43,6 @@ js_expected_symbol_test(
|
|||||||
tags = [
|
tags = [
|
||||||
"ivy-aot",
|
"ivy-aot",
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -60,6 +57,5 @@ http_server(
|
|||||||
],
|
],
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
@ -9,7 +9,6 @@ ng_module(
|
|||||||
srcs = ["index.ts"],
|
srcs = ["index.ts"],
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
@ -27,7 +26,6 @@ ng_rollup_bundle(
|
|||||||
entry_point = "packages/core/test/bundling/hello_world/index.js",
|
entry_point = "packages/core/test/bundling/hello_world/index.js",
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":hello_world",
|
":hello_world",
|
||||||
@ -41,7 +39,6 @@ ts_library(
|
|||||||
srcs = glob(["*_spec.ts"]),
|
srcs = glob(["*_spec.ts"]),
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
"//packages:types",
|
"//packages:types",
|
||||||
@ -61,7 +58,6 @@ jasmine_node_test(
|
|||||||
],
|
],
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [":test_lib"],
|
deps = [":test_lib"],
|
||||||
)
|
)
|
||||||
@ -73,7 +69,6 @@ js_expected_symbol_test(
|
|||||||
tags = [
|
tags = [
|
||||||
"ivy-aot",
|
"ivy-aot",
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -86,6 +81,5 @@ http_server(
|
|||||||
],
|
],
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
@ -70,7 +70,6 @@ js_expected_symbol_test(
|
|||||||
golden = ":bundle.golden_symbols.json",
|
golden = ":bundle.golden_symbols.json",
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -83,6 +82,5 @@ http_server(
|
|||||||
],
|
],
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
@ -11,7 +11,6 @@ ts_library(
|
|||||||
],
|
],
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
@ -29,7 +28,6 @@ ng_rollup_bundle(
|
|||||||
entry_point = "packages/core/test/bundling/injection/index.js",
|
entry_point = "packages/core/test/bundling/injection/index.js",
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":injection",
|
":injection",
|
||||||
@ -43,7 +41,6 @@ ts_library(
|
|||||||
srcs = glob(["*_spec.ts"]),
|
srcs = glob(["*_spec.ts"]),
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":injection",
|
":injection",
|
||||||
@ -58,7 +55,6 @@ jasmine_node_test(
|
|||||||
name = "test",
|
name = "test",
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [":test_lib"],
|
deps = [":test_lib"],
|
||||||
)
|
)
|
||||||
@ -69,6 +65,5 @@ js_expected_symbol_test(
|
|||||||
golden = ":bundle.golden_symbols.json",
|
golden = ":bundle.golden_symbols.json",
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
@ -10,7 +10,6 @@ ng_module(
|
|||||||
srcs = ["index.ts"],
|
srcs = ["index.ts"],
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/common",
|
"//packages/common",
|
||||||
@ -30,7 +29,6 @@ ng_rollup_bundle(
|
|||||||
entry_point = "packages/core/test/bundling/todo/index.js",
|
entry_point = "packages/core/test/bundling/todo/index.js",
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":todo",
|
":todo",
|
||||||
@ -46,7 +44,6 @@ ts_library(
|
|||||||
srcs = glob(["*_spec.ts"]),
|
srcs = glob(["*_spec.ts"]),
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
"//packages:types",
|
"//packages:types",
|
||||||
@ -67,7 +64,6 @@ jasmine_node_test(
|
|||||||
],
|
],
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [":test_lib"],
|
deps = [":test_lib"],
|
||||||
)
|
)
|
||||||
@ -79,7 +75,6 @@ js_expected_symbol_test(
|
|||||||
tags = [
|
tags = [
|
||||||
"ivy-aot",
|
"ivy-aot",
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -94,7 +89,6 @@ genrule(
|
|||||||
cmd = "cp $< $@",
|
cmd = "cp $< $@",
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -110,7 +104,6 @@ ts_devserver(
|
|||||||
],
|
],
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [":todo"],
|
deps = [":todo"],
|
||||||
)
|
)
|
||||||
@ -126,6 +119,5 @@ http_server(
|
|||||||
],
|
],
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
@ -10,7 +10,6 @@ ng_module(
|
|||||||
srcs = ["index.ts"],
|
srcs = ["index.ts"],
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/common",
|
"//packages/common",
|
||||||
@ -32,7 +31,6 @@ ng_rollup_bundle(
|
|||||||
entry_point = "packages/core/test/bundling/todo_r2/index.js",
|
entry_point = "packages/core/test/bundling/todo_r2/index.js",
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":todo",
|
":todo",
|
||||||
@ -50,7 +48,6 @@ ts_library(
|
|||||||
srcs = glob(["*_spec.ts"]),
|
srcs = glob(["*_spec.ts"]),
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
"//packages:types",
|
"//packages:types",
|
||||||
@ -73,7 +70,6 @@ jasmine_node_test(
|
|||||||
],
|
],
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [":test_lib"],
|
deps = [":test_lib"],
|
||||||
)
|
)
|
||||||
@ -85,7 +81,6 @@ js_expected_symbol_test(
|
|||||||
tags = [
|
tags = [
|
||||||
"ivy-aot",
|
"ivy-aot",
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -100,7 +95,6 @@ genrule(
|
|||||||
cmd = "cp $< $@",
|
cmd = "cp $< $@",
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -116,7 +110,6 @@ ts_devserver(
|
|||||||
],
|
],
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [":todo"],
|
deps = [":todo"],
|
||||||
)
|
)
|
||||||
@ -132,6 +125,5 @@ http_server(
|
|||||||
],
|
],
|
||||||
tags = [
|
tags = [
|
||||||
"ivy-only",
|
"ivy-only",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
@ -61,7 +61,6 @@ jasmine_node_test(
|
|||||||
"angular/packages/core/test/render3/load_domino",
|
"angular/packages/core/test/render3/load_domino",
|
||||||
],
|
],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":render3_node_lib",
|
":render3_node_lib",
|
||||||
@ -72,7 +71,6 @@ jasmine_node_test(
|
|||||||
ts_web_test_suite(
|
ts_web_test_suite(
|
||||||
name = "render3_web",
|
name = "render3_web",
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":render3_lib",
|
":render3_lib",
|
||||||
|
@ -37,7 +37,6 @@ ts_web_test_suite(
|
|||||||
],
|
],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"fixme-ivy-jit",
|
|
||||||
],
|
],
|
||||||
# do not sort
|
# do not sort
|
||||||
deps = [
|
deps = [
|
||||||
|
@ -20,7 +20,6 @@ jasmine_node_test(
|
|||||||
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"fixme-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
@ -32,7 +31,6 @@ ts_web_test_suite(
|
|||||||
name = "test_web",
|
name = "test_web",
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"fixme-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
|
@ -24,7 +24,6 @@ jasmine_node_test(
|
|||||||
],
|
],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"fixme-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
|
@ -33,7 +33,6 @@ ts_web_test_suite(
|
|||||||
],
|
],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"fixme-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
|
@ -26,7 +26,6 @@ jasmine_node_test(
|
|||||||
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"fixme-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
@ -38,7 +37,6 @@ ts_web_test_suite(
|
|||||||
name = "test_web",
|
name = "test_web",
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"fixme-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
|
@ -31,7 +31,6 @@ jasmine_node_test(
|
|||||||
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"fixme-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
@ -46,7 +45,6 @@ ts_web_test_suite(
|
|||||||
],
|
],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"fixme-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
|
@ -27,7 +27,6 @@ jasmine_node_test(
|
|||||||
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"fixme-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
|
@ -31,7 +31,6 @@ ts_web_test_suite(
|
|||||||
name = "test_web",
|
name = "test_web",
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"fixme-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
|
@ -18,7 +18,7 @@ ng_module(
|
|||||||
|
|
||||||
## Controls if Ivy is enabled. (Temporary target until we permanently switch over to Ivy)
|
## Controls if Ivy is enabled. (Temporary target until we permanently switch over to Ivy)
|
||||||
##
|
##
|
||||||
## This file generates `src/bazel_define_compile_value.ts` file which reexports
|
## This file generates `src/bazel_define_compile_value.ts` file which reexports
|
||||||
## `--define=compile` value as `bazelDefineCompileValue` symbols so that runtime can detect
|
## `--define=compile` value as `bazelDefineCompileValue` symbols so that runtime can detect
|
||||||
## which mode it is running in.
|
## which mode it is running in.
|
||||||
##
|
##
|
||||||
|
12
packages/private/testing/src/bazel_define_compile_value.ts
Normal file
12
packages/private/testing/src/bazel_define_compile_value.ts
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* @license
|
||||||
|
* Copyright Google Inc. All Rights Reserved.
|
||||||
|
*
|
||||||
|
* Use of this source code is governed by an MIT-style license that can be
|
||||||
|
* found in the LICENSE file at https://angular.io/license
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This variable shows the `blaze --define=compile=` value to make it available to runtime.
|
||||||
|
*/
|
||||||
|
export const bazelDefineCompileValue = 'legacy';
|
22
packages/private/testing/src/fixme.ts
Normal file
22
packages/private/testing/src/fixme.ts
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/**
|
||||||
|
* @license
|
||||||
|
* Copyright Google Inc. All Rights Reserved.
|
||||||
|
*
|
||||||
|
* Use of this source code is governed by an MIT-style license that can be
|
||||||
|
* found in the LICENSE file at https://angular.io/license
|
||||||
|
*/
|
||||||
|
|
||||||
|
import {bazelDefineCompileValue} from './bazel_define_compile_value';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A global method which is used to conditionally block the execution of tests.
|
||||||
|
*
|
||||||
|
* ```
|
||||||
|
* fixmeIvy('some reason') && describe(...);
|
||||||
|
* ```
|
||||||
|
*
|
||||||
|
* The above will prevent the execution of the test(s) in Ivy mode, until they can be fixed.
|
||||||
|
*/
|
||||||
|
export function fixmeIvy(reason: string): boolean {
|
||||||
|
return 'aot' !== (bazelDefineCompileValue as string);
|
||||||
|
}
|
@ -25,7 +25,6 @@ jasmine_node_test(
|
|||||||
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"fixme-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
@ -37,7 +36,6 @@ ts_web_test_suite(
|
|||||||
name = "test_web",
|
name = "test_web",
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"fixme-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
|
@ -18,7 +18,6 @@ ts_library(
|
|||||||
srcs = ["aot_router_bootstrap.spec.ts"],
|
srcs = ["aot_router_bootstrap.spec.ts"],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":aot_routing_module",
|
":aot_routing_module",
|
||||||
@ -34,7 +33,6 @@ jasmine_node_test(
|
|||||||
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"no-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":aot_test_lib",
|
":aot_test_lib",
|
||||||
|
@ -17,7 +17,6 @@ ts_web_test_suite(
|
|||||||
name = "test_web",
|
name = "test_web",
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"fixme-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
|
@ -24,7 +24,6 @@ ts_web_test_suite(
|
|||||||
],
|
],
|
||||||
tags = [
|
tags = [
|
||||||
"fixme-ivy-aot",
|
"fixme-ivy-aot",
|
||||||
"fixme-ivy-jit",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user