aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Kosiński <krzysio@google.com>2023-09-21 19:23:52 +0000
committerKrzysztof Kosiński <krzysio@google.com>2023-09-21 23:34:15 +0000
commit410a951ba30df38b55351ef1418bc4a1950e3af7 (patch)
tree44e9b64c809e2e8d4af353e5b9ca769f4deeab64
parent6b496379b475f223f3107a17050aa43a1b3f5182 (diff)
downloadregex-re2-410a951ba30df38b55351ef1418bc4a1950e3af7.tar.gz
Change regex_re2_test to cc_binary.
This test uses a custom minimal fork of GTest and is incompatible with the Android testing infrastructure; it needs to be run manually. Bug: 279548314 Test: presubmit Change-Id: I650bf0e3f9c20eaa42a7b61ce7b40a1af5310a61
-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",