From 86f1e04e01e7963544b22a72fb7f2e37f78ca991 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 1 Aug 2016 13:16:37 -0700 Subject: [PATCH] Update testing docs. Change-Id: Ic0e1c3105d1cf8e73c0fbfd51052895beed76227 --- README.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0b3dcaaa6..0bf6c6d30 100644 --- a/README.md +++ b/README.md @@ -220,19 +220,18 @@ in particular for test isolation and parallelism (both on by default). The host tests require that you have `lunch`ed either an x86 or x86_64 target. - $ mma - $ mm bionic-unit-tests-run-on-host32 - $ mm bionic-unit-tests-run-on-host64 # For 64-bit *targets* only. + $ ./tests/run-on-host.sh 32 + $ ./tests/run-on-host.sh 64 # For x86_64-bit *targets* only. + +You can supply gtest flags as extra arguments to this script. ### Against glibc As a way to check that our tests do in fact test the correct behavior (and not just the behavior we think is correct), it is possible to run the tests against -the host's glibc. The executables are already in your path. +the host's glibc. - $ mma - $ bionic-unit-tests-glibc32 - $ bionic-unit-tests-glibc64 + $ ./tests/run-on-host.sh glibc Gathering test coverage