Home
last modified time | relevance | path

Searched refs:tests (Results 1 – 21 of 21) sorted by relevance

/bionic/
DTEST_MAPPING4 "name": "bionic-unit-tests"
7 "name": "bionic-unit-tests-static"
10 "name": "linker-unit-tests"
46 "name": "toybox-tests"
51 "name": "bionic-unit-tests"
54 "name": "bionic-unit-tests-static"
57 "name": "linker-unit-tests"
90 "name": "toybox-tests"
DREADME.md44 #### tests/ --- unit tests
46 The `tests/` directory contains unit tests. Roughly arranged as one file per
47 publicly-exported header file. `tests/headers/` contains compile-only tests
48 that just check that things are _in_ the headers, whereas the "real" tests
237 Add a test in the right file in tests/. We have one file per header, so if
239 in tests/unistd_test.cpp.
249 want to check that external/ltp does contain tests for the syscall you're
329 either, as `make tests` covers a few additional modules, but generally speaking
333 ## Running the tests
335 The tests are all built from the tests/ directory. There is a separate
[all …]
/bionic/tests/
Drun-on-host.sh12 m -j $BUILD_ARGS bionic-unit-tests-glibc
17 ${HOST_OUT}/nativetest64/bionic-unit-tests-glibc/bionic-unit-tests-glibc $@
27 prepare $1 bionic-unit-tests
36 ${NATIVETEST}/bionic-unit-tests/bionic-unit-tests $@
DAndroid.bp63 // This warning does not provide any benefit to the tests.
72 // Ensure that the tests exercise shadow call stack support.
88 // Use the bootstrap version of bionic because some tests call private APIs
94 // Prebuilt shared libraries for use in tests.
355 // All standard tests.
625 // Fortify tests.
681 name: "libfortify1-tests-clang",
696 name: "libfortify2-tests-clang",
728 name: "libfortify1-new-tests-clang",
743 name: "libfortify2-new-tests-clang",
[all …]
Dstruct_layout_test.cpp27 void tests(CheckSize check_size, CheckOffset check_offset) { in tests() function
139 tests(check_size, check_offset); in TEST()
155 tests(print_size, print_offset); in TEST()
/bionic/libc/malloc_debug/
DAndroid.bp126 test_suites: ["device-tests"],
130 "tests/backtrace_fake.cpp",
131 "tests/log_fake.cpp",
132 "tests/libc_fake.cpp",
133 "tests/malloc_debug_config_tests.cpp",
134 "tests/malloc_debug_unit_tests.cpp",
137 local_include_dirs: ["tests"],
182 // unit tests are either false positive or in
183 // negative tests that can be ignored.
187 "tests/malloc_debug_system_tests.cpp",
[all …]
/bionic/build/
Dcoverage.sh34 adb push $OUT/data/nativetest/bionic-unit-tests ${DEVICE_TEST_DIR32}
36 adb push $OUT/data/nativetest64/bionic-unit-tests ${DEVICE_TEST_DIR64}
39 ${DEVICE_TEST_DIR32}/bionic-unit-tests/bionic-unit-tests
42 ${DEVICE_TEST_DIR64}/bionic-unit-tests/bionic-unit-tests
58 --object=$OUT/symbols/data/nativetest64/bionic-unit-tests/bionic-unit-tests \
61 --object=$OUT/symbols/data/nativetest/bionic-unit-tests/bionic-unit-tests \
/bionic/libc/malloc_hooks/
DAndroid.bp64 // unit tests are either false positive or in
65 // negative tests that can be ignored.
69 "tests/malloc_hooks_tests.cpp",
76 local_include_dirs: ["tests"],
90 test_suites: ["general-tests"],
/bionic/tests/headers/posix/
DREADME.md1 # POSIX header tests
3 These compile-time tests check that each POSIX header contains _at
/bionic/tools/
Dupdate_notice.sh12 python3 ./libc/tools/generate_notice.py tests > tests/NOTICE
/bionic/benchmarks/
DAndroid.bp149 name: "bionic-benchmarks-tests",
153 "tests/benchmark_test.cpp",
154 "tests/interface_test.cpp",
165 test_suites: ["device-tests"],
DTEST_MAPPING4 "name": "bionic-benchmarks-tests"
DREADME.md9 tests into suites.
80 `bionic-benchmarks` also has its own set of unit tests, which can be run from the binary in
81 `/data/nativetest[64]/bionic-benchmarks-tests`
/bionic/tools/versioner/
Drun_tests.py65 tests = os.listdir(test_dir) variable
76 for test in sorted(tests):
/bionic/tests/libs/
DAndroid.bp194 // Library used by dlext tests - with GNU RELRO program header
205 // Library used by dlext tests - without GNU RELRO program header
216 // Library used by dlext tests - recursive use of RELRO sharing
227 // Library used by dlext tests - different name non-default location
240 // Libraries used by dlext tests for open from a zip-file
270 // Library used by dlext tests - zipped and aligned
272 // In Android.mk to support zipped and aligned tests
275 // Library used by dlfcn tests
284 // Libraries and binaries used by memtag_stack_dlopen_test tests
371 // Library used by dlext direct unload on the namespace boundary tests
[all …]
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_u32.h32 struct xt_u32_test tests[XT_U32_MAXSIZE + 1]; member
/bionic/docs/
Dlibc_assembler.md7 * Update the routine, run the bionic unit tests to verify the routine doesn't
69 It can take a long time to run these tests since it attempts to test a
102 of issues, you can run a subset of the tests again. At the very least, it's
124 Run the bionic tests to verify that the new routines are valid. However,
141 If there are not sufficient tests for a new routine, there are a set of helper
143 header **bionic/tests/buffer\_tests.h** for these routines and look at
144 **bionic/tests/string\_test.cpp** for examples of how to use it.
Dnative_allocator.md48 tests for this funcion in `bionic/tests/malloc_itearte_test.cpp`.
86 These are the tests that should be run to verify an allocator is
90 The bionic unit tests contain a small number of allocator tests. These
91 tests are primarily verifying Android extensions and non-standard behavior
95 To run all of the compliance tests:
97 adb shell /data/nativetest64/bionic-unit-tests/bionic-unit-tests --gtest_filter="malloc*"
98 adb shell /data/nativetest/bionic-unit-tests/bionic-unit-tests --gtest_filter="malloc*"
100 The allocation tests are not meant to be complete, so it is expected
101 that a native allocator will have its own set of tests that can be run.
104 The libmemunreachable tests verify that the iterator functions are working
[all …]
Dstatus.md13 You can see the current status with respect to POSIX in the form of tests:
14 https://android.googlesource.com/platform/bionic/+/main/tests/headers/posix/
17 is guarded with tests for `__linux__`. Other functionality is not
18 supported by bionic or glibc, and guarded with tests for `__BIONIC__`
/bionic/libfdtrack/
DAndroid.bp48 test_suites: ["device-tests"],
/bionic/linker/
DAndroid.bp547 name: "linker-unit-tests",
548 test_suites: ["device-tests"],