Files
rk35xx-android14/system/chre/run_pal_impl_tests.sh
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

18 lines
416 B
Bash
Executable File

#!/bin/bash
# Quit if any command produces an error.
set -e
# Build and run the CHRE unit test binary.
JOB_COUNT=$((`grep -c ^processor /proc/cpuinfo`))
# Export the variant Makefile.
export CHRE_VARIANT_MK_INCLUDES="$CHRE_VARIANT_MK_INCLUDES \
variant/googletest/variant.mk"
export RUN_PAL_IMPL_TESTS=true
make clean
make google_x86_googletest_debug -j$JOB_COUNT
./out/google_x86_googletest_debug/libchre $1