external: llvm-libc: add --gtest_color=no to TEST_MAPPING

llvm-libc's pseudo GTest doesn't support autodetection (--gtest_color=auto),
and must be forced off. Otherwise ATest can't parse the output.

Use native-test-flag to pass --gtest_color=no to the command line invocation of
the test binary. The native-test-flag field's documentation leaves much to be
desired.

Unfortunately, this will need to be added for every unit test...

Test: cd external/llvm-libc && atest :postsubmit
Link: https://github.com/llvm/llvm-project/pull/93852
Link: https://source.android.com/docs/core/tests/development/test-mapping#follow_an_example
Link: https://source.android.com/docs/core/tests/development/gtest#workflow
Bug: 335872118
Change-Id: If4b89e53cb0b843d5c378af0af3c8122d80c6f59
1 file changed