run_tests.sh 373 B

1234567891011121314
  1. #!/bin/bash
  2. # Quit if any command produces an error.
  3. set -e
  4. # Build and run the CHRE unit test binary.
  5. JOB_COUNT=$((`grep -c ^processor /proc/cpuinfo`))
  6. # Export the variant Makefile.
  7. export CHRE_VARIANT_MK_INCLUDES="$CHRE_VARIANT_MK_INCLUDES \
  8. variant/googletest/variant.mk"
  9. make google_x86_googletest_debug -j$JOB_COUNT
  10. ./out/google_x86_googletest_debug/libchre $1