Home
last modified time | relevance | path

Searched +full:cxx +full:- +full:test +full:- +full:suite (Results 1 – 25 of 155) sorted by relevance

1234567

/external/cronet/third_party/libc++/src/docs/
DTestingLibcxx.rst15 The primary way to run the libc++ tests is by using ``make check-cxx``.
20 test libc++.
27 -----
29 After building libc++, you can run parts of the libc++ test suite by simply
30 running ``llvm-lit`` on a specified test or directory. If you're unsure
32 ``cxx-test-depends`` target. For example:
34 .. code-block:: bash
36 $ cd <monorepo-root>
37 $ make -C <build> cxx-test-depends # If you want to make sure the targets get rebuilt
38 $ <build>/bin/llvm-lit -sv libcxx/test/std/re # Run all of the std::regex tests
[all …]
/external/cronet/third_party/libc++/src/test/
DCMakeLists.txt11 set(SERIALIZED_LIT_PARAMS "# Lit parameters serialized here for llvm-lit to pick them up\n")
46 # llvm-libc++-*-clangcl.cfg.in test configs.
59 set(dbg_include " -include set_windows_crt_report_mode.h")
72 configure_file("${CMAKE_CURRENT_SOURCE_DIR}/configs/cmake-bridge.cfg.in"
73 "${CMAKE_CURRENT_BINARY_DIR}/cmake-bridge.cfg"
81 add_custom_target(cxx-test-depends
82 DEPENDS cxx ${LIBCXX_TEST_DEPS}
83 COMMENT "Builds dependencies required to run the test suite.")
85 add_lit_testsuite(check-cxx
88 DEPENDS cxx-test-depends)
[all …]
/external/oss-fuzz/projects/libpng-proto/
Dbuild.sh7 # http://www.apache.org/licenses/LICENSE-2.0
19 # build libpng using the upstream-provided build.sh.
20 # it will also build the vanilla (non-proto) fuzz target,
22 (cd libpng/ && contrib/oss-fuzz/build.sh && rm -rf $OUT/*)
26 rm -rf genfiles && mkdir genfiles && LPM/external.protobuf/bin/protoc png_fuzz_proto.proto --cpp_ou…
28 # compile the upstream-provided vanilla fuzz target
32 $CXX $CXXFLAGS -c -DLLVMFuzzerTestOneInput=FuzzPNG libpng/contrib/oss-fuzz/libpng_read_fuzzer.cc -I…
35 $CXX $CXXFLAGS png_proto_fuzzer_example.cc libpng_read_fuzzer.o genfiles/png_fuzz_proto.pb.cc \
36 -I genfiles -I. -I libprotobuf-mutator/ -I LPM/external.protobuf/include \
37 -lz \
[all …]
/external/oss-fuzz/projects/ffmpeg/
Dbuild.sh1 #!/bin/bash -eux
8 # http://www.apache.org/licenses/LICENSE-2.0
18 # Disable UBSan vptr since several targets built with -fno-rtti.
19 export CFLAGS="$CFLAGS -fno-sanitize=vptr"
20 export CXXFLAGS="$CXXFLAGS -fno-sanitize=vptr"
24 mkdir -p $FFMPEG_DEPS_PATH
30 bzip2 -f -d alsa-lib-*
31 tar xf alsa-lib-*
32 rm alsa-lib-*.tar
33 cd alsa-lib-*
[all …]
/external/libcxx/docs/
DTestingLibcxx.rst12 libc++ tests is by using make check-libcxx. However since libc++ can be used
15 LIT directly to test libc++.
22 --------------------------
24 After building libc++ you must setup your environment to test libc++ using
30 .. code-block:: bash
36 .. code-block:: bash
38 $ export LIBCXX_SITE_CONFIG=path/to/build-libcxx/test/lit.site.cfg
41 -------------
44 parts of the libc++ test suite by simply running `lit` on a specified test or
47 .. code-block:: bash
[all …]
/external/libcxx/utils/libcxx/android/test/
Dconfig.py5 import libcxx.test.config
7 import libcxx.android.test.format
10 class Configuration(libcxx.test.config.Configuration):
34 'Using compiler: {}'.format(self.cxx.path))
36 'Using compile template: {}'.format(self.cxx.cxx_template))
38 'Using link template: {}'.format(self.cxx.link_template))
53 self.cxx = libcxx.android.compiler.AndroidCXXCompiler(
57 # The libcxxabi test suite needs this but it doesn't actually
61 self.config.target_triple = self.cxx.get_triple()
65 static_env = os.path.join(self.libcxx_src_root, 'test', 'std',
[all …]
/external/python/cpython3/Lib/distutils/tests/
Dtest_sysconfig.py13 from test.support import run_unittest, swap_item, requires_subprocess, is_wasi
14 from test.support.os_helper import TESTFN
15 from test.support.warnings_helper import check_warnings
43 # test for pythonxx.lib?
98 'CXX': 'sc_cxx',
99 'ARFLAGS': '--sc-arflags',
100 'CFLAGS': '--sc-cflags',
101 'CCSHARED': '--sc-ccshared',
126 os.environ['CXX'] = 'env_cxx --env-cxx-flags'
128 os.environ['LDFLAGS'] = '--env-ldflags'
[all …]
/external/libcxx/test/
DCMakeLists.txt44 # By default, for non-standalone builds, libcxx and libcxxabi share a library
51 set(LIBCXX_TARGET_INFO "libcxx.test.target_info.LocalTI" CACHE STRING
52 "TargetInfo to use when setting up test environment.")
69 add_lit_testsuite(check-cxx
72 DEPENDS cxx ${LIBCXX_TEST_DEPS})
74 add_custom_target(check-libcxx DEPENDS check-cxx)
82 "${LIBCXX_LIB_CMAKEFILES_DIR}/cxx.dir/"
86 setup_lcov_test_target_coverage("cxx" "${output_dir}" "${capture_dirs}" "${extract_dirs}")
91 # Create dummy targets for each of the tests in the test suite, this allows
100 add_dependencies(libcxx_test_objects cxx)
[all …]
/external/libcups/
DMakefile2 # Top-level Makefile for CUPS.
4 # Copyright © 2007-2021 by Apple Inc.
5 # Copyright © 1997-2007 by Easy Software Products, all rights reserved.
22 # Test suite options - normally blank, override with make command...
33 chmod +x cups-config
38 echo Using CXX="$(CC)"
57 echo Using CXX="$(CC)"
68 # Make unit test targets...
76 echo Using CXX="$(CC)"
98 # Remove all non-distribution files...
[all …]
/external/skia/bazel/external/cxx/
DCargo.lock6 name = "basic-toml"
8 source = "registry+https://github.com/rust-lang/crates.io-index"
17 source = "registry+https://github.com/rust-lang/crates.io-index"
21 name = "codespan-reporting"
23 source = "registry+https://github.com/rust-lang/crates.io-index"
27 "unicode-width",
31 name = "cxx"
35 "cxx-build",
36 "cxx-gen",
37 "cxx-test-suite",
[all …]
/external/python/setuptools/setuptools/_distutils/tests/
Dtest_sysconfig.py14 from test.support import run_unittest, swap_item
50 # test for pythonxx.lib?
106 'CXX': 'sc_cxx',
107 'ARFLAGS': '--sc-arflags',
108 'CFLAGS': '--sc-cflags',
109 'CCSHARED': '--sc-ccshared',
134 os.environ['CXX'] = 'env_cxx --env-cxx-flags'
136 os.environ['LDFLAGS'] = '--env-ldflags'
137 os.environ['ARFLAGS'] = '--env-arflags'
138 os.environ['CFLAGS'] = '--env-cflags'
[all …]
/external/cronet/third_party/libc++abi/src/test/configs/
Dcmake-bridge.cfg.in16 site.addsitedir(os.path.join('@LIBCXXABI_SOURCE_DIR@', 'test'))
17 import libcxx.test.format
19 # Basic configuration of the test suite
21 config.test_source_root = os.path.join('@LIBCXXABI_SOURCE_DIR@', 'test')
22 config.test_format = libcxx.test.format.CxxStandardLibraryTest()
24 config.test_exec_root = os.path.join('@CMAKE_BINARY_DIR@', 'test')
26 # TODO: This is a non-standard Lit attribute and we should have another way of accessing this.
29 config.substitutions.append(('%{cxx}', '@CMAKE_CXX_COMPILER@'))
32 config.substitutions.append(('%{cxx-include}', '@LIBCXXABI_HEADER_DIR@/include/c++/v1'))
33 config.substitutions.append(('%{cxx-target-include}', '@LIBCXXABI_HEADER_DIR@/include/%{triple}/c++…
[all …]
Dapple-libc++abi-backdeployment.cfg.in1 # Testing configuration for back-deployment against older Apple system libc++abi.
3 # Under this configuration, we compile and link all the test suite against the latest libc++abi,
10 import libcxx.test.params, libcxx.test.config, libcxx.test.dsl
12 lit_config.load_config(config, '@CMAKE_CURRENT_BINARY_DIR@/cmake-bridge.cfg')
15 libcxx.test.dsl.Parameter(name='cxx_runtime_root', type=str,
16 actions=lambda root: [libcxx.test.dsl.AddSubstitution('%{cxx-runtime-root}', root)],
24 libcxx.test.dsl.Parameter(name='abi_runtime_root', type=str,
25 actions=lambda root: [libcxx.test.dsl.AddSubstitution('%{abi-runtime-root}', root)],
33 libcxx.test.dsl.Parameter(name='unwind_runtime_root', type=str,
34 actions=lambda root: [libcxx.test.dsl.AddSubstitution('%{unwind-runtime-root}', root)],
[all …]
Dllvm-libc++abi-static.cfg.in1 # This testing configuration handles running the test suite against LLVM's libc++abi
4 lit_config.load_config(config, '@CMAKE_CURRENT_BINARY_DIR@/cmake-bridge.cfg')
7 '-isysroot {}'.format('@CMAKE_OSX_SYSROOT@') if '@CMAKE_OSX_SYSROOT@' else ''
10 …'-nostdinc++ -I %{include} -I %{cxx-include} -I %{cxx-target-include} %{maybe-include-libunwind} -
13 '-nostdlib++ -L %{lib} -lc++ -lc++abi -pthread'
16 '%{executor} --execdir %T -- '
21 import libcxx.test.params, libcxx.test.config
22 libcxx.test.config.configure(
23 libcxx.test.params.DEFAULT_PARAMETERS,
24 libcxx.test.features.DEFAULT_FEATURES,
Dllvm-libc++abi-mingw.cfg.in1 # This testing configuration handles running the test suite against LLVM's libc++abi
4 lit_config.load_config(config, '@CMAKE_CURRENT_BINARY_DIR@/cmake-bridge.cfg')
8 …'-nostdinc++ -I %{include} -I %{cxx-include} -I %{cxx-target-include} %{maybe-include-libunwind} -
11 '-nostdlib++ -L %{lib} -lc++'
14 '%{executor} --execdir %T --prepend_env PATH=%{lib} -- '
19 import libcxx.test.params, libcxx.test.config
20 libcxx.test.config.configure(
21 libcxx.test.params.DEFAULT_PARAMETERS,
22 libcxx.test.features.DEFAULT_FEATURES,
Dllvm-libc++abi-static-clangcl.cfg.in1 # This testing configuration handles running the test suite against LLVM's libc++abi
2 # using a static library, with Clang-cl on Windows.
4 lit_config.load_config(config, '@CMAKE_CURRENT_BINARY_DIR@/cmake-bridge.cfg')
6 config.substitutions.append(('%{flags}', '--driver-mode=g++'))
8-nostdinc++ -I %{include} -I %{cxx-include} -I %{cxx-target-include} %{maybe-include-libunwind} -I…
11 '-nostdlib -L %{lib} -llibc++ -llibc++abi -lmsvcrt -lmsvcprt -loldnames'
14 '%{executor} --execdir %T --prepend_env PATH=%{lib} -- '
19 import libcxx.test.params, libcxx.test.config
20 libcxx.test.config.configure(
21 libcxx.test.params.DEFAULT_PARAMETERS,
[all …]
Dllvm-libc++abi-shared-clangcl.cfg.in1 # This testing configuration handles running the test suite against LLVM's libc++abi
2 # using a DLL, with Clang-cl on Windows.
4 lit_config.load_config(config, '@CMAKE_CURRENT_BINARY_DIR@/cmake-bridge.cfg')
6 config.substitutions.append(('%{flags}', '--driver-mode=g++'))
8-nostdinc++ -I %{include} -I %{cxx-include} -I %{cxx-target-include} %{maybe-include-libunwind} -I…
11 '-nostdlib -L %{lib} -lc++ -lc++abi -lmsvcrt -lmsvcprt -loldnames'
14 '%{executor} --execdir %T --prepend_env PATH=%{lib} -- '
19 import libcxx.test.params, libcxx.test.config
20 libcxx.test.config.configure(
21 libcxx.test.params.DEFAULT_PARAMETERS,
[all …]
Dllvm-libc++abi-shared.cfg.in1 # This testing configuration handles running the test suite against LLVM's libc++abi
4 lit_config.load_config(config, '@CMAKE_CURRENT_BINARY_DIR@/cmake-bridge.cfg')
7 '-isysroot {}'.format('@CMAKE_OSX_SYSROOT@') if '@CMAKE_OSX_SYSROOT@' else ''
10 …'-nostdinc++ -I %{include} -I %{cxx-include} -I %{cxx-target-include} %{maybe-include-libunwind} -
13 '-nostdlib++ -L %{lib} -Wl,-rpath,%{lib} -lc++ -lc++abi -pthread'
16 '%{executor} --execdir %T -- '
21 import libcxx.test.params, libcxx.test.config
22 libcxx.test.config.configure(
23 libcxx.test.params.DEFAULT_PARAMETERS,
24 libcxx.test.features.DEFAULT_FEATURES,
Dllvm-libc++abi-shared-gcc.cfg.in1 # This testing configuration handles running the test suite against LLVM's libc++abi
3 # GCC does not support the -nostdlib++ command-line flag.
5 lit_config.load_config(config, '@CMAKE_CURRENT_BINARY_DIR@/cmake-bridge.cfg')
9 …'-nostdinc++ -I %{include} -I %{cxx-include} -I %{cxx-target-include} %{maybe-include-libunwind} -
12 …'-L %{lib} -Wl,-rpath,%{lib} -nodefaultlibs -lc++ -lc++abi -lm -lgcc_s -lgcc -lpthread -lc -lgcc_s…
15 '%{executor} --execdir %T -- '
20 import libcxx.test.params, libcxx.test.config
21 libcxx.test.config.configure(
22 libcxx.test.params.DEFAULT_PARAMETERS,
23 libcxx.test.features.DEFAULT_FEATURES,
/external/rust/cxx/.github/workflows/
Dci.yml16 test:
20 runs-on: ${{matrix.os || 'ubuntu'}}-latest
22 fail-fast: false
25 - rust: nightly
26 - rust: beta
27 - rust: stable
28 - rust: 1.60.0
29 - rust: 1.70.0
30 - rust: 1.74.0
31 - name: Cargo on macOS
[all …]
/external/rust/cxx/
DCargo.toml2 name = "cxx"
5 categories = ["development-tools::ffi", "api-bindings", "no-std"]
7 documentation = "https://docs.rs/cxx"
9 exclude = ["/demo", "/gen", "/syntax", "/third-party", "/tools/buck/prelude"]
10 homepage = "https://cxx.rs"
12 license = "MIT OR Apache-2.0"
14 repository = "https://github.com/dtolnay/cxx"
15 rust-version = "1.60"
18 default = ["std", "cxxbridge-flags/default"] # c++11
19 "c++14" = ["cxxbridge-flags/c++14"]
[all …]
/external/rust/cxx/tests/ffi/
DCargo.toml2 name = "cxx-test-suite"
12 cxx = { path = "../..", default-features = false }
14 [build-dependencies]
15 cxx-build = { path = "../../gen/build" }
16 cxxbridge-flags = { path = "../../flags" }
/external/llvm/utils/release/
Dtest-release.sh2 #===-- test-release.sh - Test the LLVM release candidates ------------------===#
9 #===------------------------------------------------------------------------===#
11 # Download, build, and test the release candidate for an LLVM release.
13 #===------------------------------------------------------------------------===#
15 System=`uname -s`
23 Base_url="http://llvm.org/svn/llvm-project"
46 echo "usage: `basename $0` -release X.Y.Z -rc NUM [OPTIONS]"
48 echo " -release X.Y.Z The release version to test."
49 echo " -rc NUM The pre-release candidate number."
50 echo " -final The final release candidate."
[all …]
/external/boringssl/src/
DFUZZING.md7-DFUZZ=1` on the CMake command line to enable building BoringSSL with coverage and AddressSanitize…
10 CC=clang CXX=clang++ cmake -GNinja -DFUZZ=1 -B build
11 ninja -C build
18 ./fuzz/cert -max_len=10000 -jobs=32 -workers=32 ../fuzz/cert_corpus/
21 … fuzzing. By default, libFuzzer uses the largest test in the corpus (or 64 if empty) as the maximu…
23 The recommended values of `max_len` for each test are:
25 | Test | `max_len` value |
26 |---------------|-----------------|
51 When `-DFUZZ=1` is passed into CMake, BoringSSL builds with `BORINGSSL_UNSAFE_FUZZER_MODE` and `BOR…
55 * Use a hard-coded time instead of the actual time.
[all …]
/external/cronet/third_party/boringssl/src/
DFUZZING.md7-DFUZZ=1` on the CMake command line to enable building BoringSSL with coverage and AddressSanitize…
10 CC=clang CXX=clang++ cmake -GNinja -DFUZZ=1 -B build
11 ninja -C build
18 ./fuzz/cert -max_len=10000 -jobs=32 -workers=32 ../fuzz/cert_corpus/
21 … fuzzing. By default, libFuzzer uses the largest test in the corpus (or 64 if empty) as the maximu…
23 The recommended values of `max_len` for each test are:
25 | Test | `max_len` value |
26 |---------------|-----------------|
51 When `-DFUZZ=1` is passed into CMake, BoringSSL builds with `BORINGSSL_UNSAFE_FUZZER_MODE` and `BOR…
55 * Use a hard-coded time instead of the actual time.
[all …]

1234567