Lines Matching +full:xvfb +full:- +full:run
2 # Use of this source code is governed by a BSD-style license that can be
26 # specified. Cross-platform targets that include `test` targets in their
43 import("//third_party/fuchsia-gn-sdk/src/cmc.gni")
44 import("//third_party/fuchsia-gn-sdk/src/component.gni")
45 import("//third_party/fuchsia-gn-sdk/src/package.gni")
89 # internally-generated targets. However, rust_target requires a strict
98 # if `rs_sources` is non-empty. But we don't automatically provide
153 # Fuzz tests are small fuzzers that do not require particularly-powerful
154 # machines to run, so we do not build them when `high_end_fuzzer_targets`
160 # We still want a reachable target, so make it a no-op empty group. This
215 # be done on builds where we can confidently run the fuzzing binary.
216 # Let's be conservative about that -- so long as any failures are
237 "--executable",
241 "--output",
243 "--fuzztests",
254 # builder recipes use `gn refs --type=executable` to find things
258 # scripts, but that seems worse. The executable might be more cross-
265 # If we're building for libfuzzer, we have to pass -undefok=max_len
301 "-undefok=" + string_join(",", known_libfuzzer_args) + " "
305 fuzzer_args += "--fuzz=$fuzztest_unit"
338 # use_xvfb: (optional) whether to run the executable under Xvfb.
356 # fuzzing infrastructure can find and run such tests.
435 configs -= [
620 # not create a top-level alias for it if a target exists in another
622 # Also - bots run this script directly for "components_perftests".
661 _test_program_fragment_target = "${target_name}_program-fragment"
662 _test_program_fragment = "${target_out_dir}/${target_name}_program.test-cml"
674 "//build/config/fuchsia/test/elf_test_runner.shard.test-cml"
687 # Select the Fuchsia test realm in which to run the test.
691 "//build/config/fuchsia/test/chromium_system_test_facet.shard.test-cml",
692 "//build/config/fuchsia/test/system_test_minimum.shard.test-cml",
696 "//build/config/fuchsia/test/chromium_test_facet.shard.test-cml",
697 "//build/config/fuchsia/test/minimum.shard.test-cml",
704 [ "//build/config/fuchsia/test/asan_options.shard.test-cml" ]
715 _test_component_manifest_target = "${target_name}_component-manifest"
735 # manifests may themselves depend-on the outputs of |deps|, these components
786 # |target_name| refers to the package-runner rule, so that building
788 # package, but also the script required to run them.
841 # Keep the unittest-as-xctest functionality defaulted to off for
865 "--app",
907 info_plist = "//testing/gtest_ios/unittest-Info.plist"
934 # Building for a cros board (ie: not linux-chromeos or linux-lacros).
952 # At build time, Lacros tests don't know whether they'll run on VM or
1000 # target requires a window, and in lacros build, ash-chrome serves as the
1002 # xvfb anymore, xvfb.py is still needed to invoke the lacros test runner
1003 # because ash-chrome is based on x11.
1013 executable = "//testing/xvfb.py"
1026 "--test-launcher-bot-mode",
1030 executable_args += [ "--ash-chrome-path" ]
1032 # Can't use --ash-chrome-path=path because WrappedPath
1038 executable_args += [ "--asan=1" ]
1041 executable_args += [ "--msan=1" ]
1044 executable_args += [ "--tsan=1" ]
1047 executable_args += [ "--cfi-diag=1" ]
1050 executable_args += [ "--fail-san=1" ]
1098 executable = "//testing/xvfb.py"
1108 "--test-launcher-bot-mode",
1111 executable_args += [ "--asan=1" ]
1114 executable_args += [ "--msan=1" ]
1117 executable_args += [ "--tsan=1" ]
1120 executable_args += [ "--cfi-diag=1" ]
1123 executable_args += [ "--fail-san=1" ]
1138 # Give tests the default manifest on Windows (a no-op elsewhere).
1152 # This is a catch-all clause for NaCl toolchains and other random
1156 "use_xvfb should not be defined for a non-linux configuration")
1174 # Defines a type of test that invokes a script to run, rather than
1181 # to the script to run. It may optionally be passed a `args` parameter, which
1247 "--script-type=bare",
1259 configs -= [ "//build/config/android:hide_all_but_jni_onload" ]
1262 # Compress sections to stay under 4gb hard limit on 32-bit current_cpu.