Home
last modified time | relevance | path

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

1234567

/external/cronet/buildtools/third_party/libc++/trunk/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/buildtools/third_party/libc++/trunk/test/
DCMakeLists.txt13 set(SERIALIZED_LIT_PARAMS "# Lit parameters serialized here for llvm-lit to pick them up\n")
54 configure_file("${CMAKE_CURRENT_SOURCE_DIR}/configs/cmake-bridge.cfg.in"
55 "${CMAKE_CURRENT_BINARY_DIR}/cmake-bridge.cfg"
63 add_custom_target(cxx-test-depends
64 DEPENDS cxx ${LIBCXX_TEST_DEPS}
65 COMMENT "Builds dependencies required to run the test suite.")
67 add_lit_testsuite(check-cxx
70 DEPENDS cxx-test-depends)
78 "${LIBCXX_LIB_CMAKEFILES_DIR}/cxx.dir/"
82 setup_lcov_test_target_coverage("cxx" "${output_dir}" "${capture_dirs}" "${extract_dirs}")
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/utils/libcxx/test/
Dformat.py1 #===----------------------------------------------------------------------===##
5 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 #===----------------------------------------------------------------------===##
16 def _getTempPaths(test): argument
21 that %T is a path unique to the test being run.
23 tmpDir, _ = lit.TestRunner.getTempPaths(test)
24 _, testName = os.path.split(test.getExecPath())
31 for s in ['%{cxx}', '%{compile_flags}', '%{link_flags}', '%{flags}', '%{exec}']:
34 def parseScript(test, preamble): argument
36 Extract the script from a test, with substitutions applied.
[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/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/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/libcups/
DMakefile2 # Top-level Makefile for CUPS.
4 # Copyright © 2007-2019 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/python/cpython3/Lib/distutils/tests/
Dtest_sysconfig.py13 from test.support import run_unittest, swap_item
14 from test.support.os_helper import TESTFN
15 from test.support.warnings_helper import check_warnings
42 # test for pythonxx.lib?
92 'CXX': 'sc_cxx',
93 'ARFLAGS': '--sc-arflags',
94 'CFLAGS': '--sc-cflags',
95 'CCSHARED': '--sc-ccshared',
120 os.environ['CXX'] = 'env_cxx --env-cxx-flags'
122 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/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/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"]
10 homepage = "https://cxx.rs"
12 license = "MIT OR Apache-2.0"
14 repository = "https://github.com/dtolnay/cxx"
15 rust-version = "1.48"
18 default = ["std", "cxxbridge-flags/default"] # c++11
19 "c++14" = ["cxxbridge-flags/c++14"]
[all …]
/external/cronet/buildtools/third_party/libc++abi/trunk/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 --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-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 --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-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 --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/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/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 …]
/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/buildtools/third_party/libc++/trunk/utils/ci/
Dbuildkite-pipeline-clang.yml1 #===----------------------------------------------------------------------===##
5 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 #===----------------------------------------------------------------------===##
10 # This file describes the various pre-commit CI bots used to test Clang against
12 # which aims to test libc++ itself, this pipeline aims to test Clang by
13 # compiling libc++ and running its test suite against the just-built Clang,
19 - label: "Building clang"
21 - "mkdir install"
22- "cmake -S llvm -B build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=instal…
23 - "ninja -C build install-clang install-clang-resource-headers"
[all …]

1234567