Lines Matching defs:unit
20 # Unit tests.
272 # adb shell /data/nativetest/bionic-unit-tests/bionic-unit-tests32
273 # adb shell /data/nativetest/bionic-unit-tests/bionic-unit-tests64
274 # adb shell /data/nativetest/bionic-unit-tests/bionic-unit-tests-gcc32
275 # adb shell /data/nativetest/bionic-unit-tests/bionic-unit-tests-gcc64
277 common_bionic-unit-tests_whole_static_libraries := \
281 common_bionic-unit-tests_static_libraries := \
287 common_bionic-unit-tests_src_files := \
297 common_bionic-unit-tests_cflags := $(test_cflags)
299 common_bionic-unit-tests_conlyflags := \
303 common_bionic-unit-tests_cppflags := $(test_cppflags)
305 common_bionic-unit-tests_ldflags := \
308 common_bionic-unit-tests_c_includes := \
311 common_bionic-unit-tests_shared_libraries_target := \
319 common_bionic-unit-tests_static_libraries_target := \
329 module := bionic-unit-tests
330 bionic-unit-tests_clang_target := true
331 bionic-unit-tests_whole_static_libraries := $(common_bionic-unit-tests_whole_static_libraries)
332 bionic-unit-tests_static_libraries := $(common_bionic-unit-tests_static_libraries)
333 bionic-unit-tests_src_files := $(common_bionic-unit-tests_src_files)
334 bionic-unit-tests_cflags := $(common_bionic-unit-tests_cflags)
335 bionic-unit-tests_conlyflags := $(common_bionic-unit-tests_conlyflags)
336 bionic-unit-tests_cppflags := $(common_bionic-unit-tests_cppflags)
337 bionic-unit-tests_ldflags := $(common_bionic-unit-tests_ldflags)
338 bionic-unit-tests_c_includes := $(common_bionic-unit-tests_c_includes)
339 bionic-unit-tests_shared_libraries_target := $(common_bionic-unit-tests_shared_libraries_target)
340 bionic-unit-tests_static_libraries_target := $(common_bionic-unit-tests_static_libraries_target)
343 module := bionic-unit-tests-gcc
344 bionic-unit-tests-gcc_clang_target := false
345 bionic-unit-tests-gcc_whole_static_libraries := $(common_bionic-unit-tests_whole_static_libraries)
346 bionic-unit-tests-gcc_static_libraries := $(common_bionic-unit-tests_static_libraries)
347 bionic-unit-tests-gcc_src_files := $(common_bionic-unit-tests_src_files)
348 bionic-unit-tests-gcc_cflags := $(common_bionic-unit-tests_cflags)
349 bionic-unit-tests-gcc_conlyflags := $(common_bionic-unit-tests_conlyflags)
350 bionic-unit-tests-gcc_cppflags := $(common_bionic-unit-tests_cppflags)
351 bionic-unit-tests-gcc_ldflags := $(common_bionic-unit-tests_ldflags)
352 bionic-unit-tests-gcc_c_includes := $(common_bionic-unit-tests_c_includes)
353 bionic-unit-tests-gcc_shared_libraries_target := $(common_bionic-unit-tests_shared_libraries_target)
354 bionic-unit-tests-gcc_static_libraries_target := $(common_bionic-unit-tests_static_libraries_target)
359 # adb shell /data/nativetest/bionic-unit-tests-static/bionic-unit-tests-static32
360 # adb shell /data/nativetest/bionic-unit-tests-static/bionic-unit-tests-static64
362 bionic-unit-tests-static_whole_static_libraries := \
366 bionic-unit-tests-static_static_libraries := \
375 bionic-unit-tests-static_force_static_executable := true
381 bionic-unit-tests-static_ldflags := -Wl,--allow-multiple-definition
383 module := bionic-unit-tests-static
391 # cd bionic/tests; mm bionic-unit-tests-glibc-run
396 bionic-unit-tests-glibc_src_files := \
402 bionic-unit-tests-glibc_shared_libraries := \
406 bionic-unit-tests-glibc_shared_libraries += libdl_test_df_1_global
408 bionic-unit-tests-glibc_whole_static_libraries := \
413 bionic-unit-tests-glibc_static_libraries := \
418 bionic-unit-tests-glibc_ldlibs := \
421 bionic-unit-tests-glibc_c_includes := \
424 bionic-unit-tests-glibc_cflags := $(test_cflags)
425 bionic-unit-tests-glibc_cppflags := $(test_cppflags)
426 bionic-unit-tests-glibc_ldflags := -Wl,--export-dynamic
428 bionic-unit-tests-glibc_allow_asan := true
430 module := bionic-unit-tests-glibc
491 .PHONY: bionic-unit-tests-glibc-run
492 bionic-unit-tests-glibc-run: bionic-unit-tests-glibc
496 $(HOST_OUT_EXECUTABLES)/bionic-unit-tests-glibc64 $(BIONIC_TEST_FLAGS)
499 # Run the unit
509 .PHONY: bionic-unit-tests-run-on-host32
510 bionic-unit-tests-run-on-host32: bionic-unit-tests bionic-prepare-run-on-host
515 $(TARGET_OUT_DATA)/nativetest/bionic-unit-tests/bionic-unit-tests32 $(BIONIC_TEST_FLAGS)
519 .PHONY: bionic-unit-tests-run-on-host64
520 bionic-unit-tests-run-on-host64: bionic-unit-tests bionic-prepare-run-on-host
525 $(TARGET_OUT_DATA)/nativetest64/bionic-unit-tests/bionic-unit-tests64 $(BIONIC_TEST_FLAGS)