aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2023-09-22 17:10:07 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2023-09-22 17:10:07 +0000
commit9f45171bc0f9a6b3147857d5e16598614a87427d (patch)
tree44e9b64c809e2e8d4af353e5b9ca769f4deeab64
parent6b496379b475f223f3107a17050aa43a1b3f5182 (diff)
parent410a951ba30df38b55351ef1418bc4a1950e3af7 (diff)
downloadregex-re2-9f45171bc0f9a6b3147857d5e16598614a87427d.tar.gz
Merge "Change regex_re2_test to cc_binary." into mainmain-16k
-rw-r--r--Android.bp7
1 files changed, 5 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index 7a62d81..8e56985 100644
--- a/Android.bp
+++ b/Android.bp
@@ -52,9 +52,12 @@ cc_library_static {
],
}
-cc_test {
+// This test uses a minimal fork of GTest that is incompatible with Android
+// testing infrastructure, so it is currently a cc_binary rather than a cc_test.
+// It can be run directly and should produce a pass/fail result:
+// out/host/linux-x86/bin/regex_re2_test
+cc_binary_host {
name: "regex_re2_test",
- host_supported: true,
srcs: [
"re2/testing/backtrack.cc",
"re2/testing/charclass_test.cc",