Reduce unnecessary quoting for --gtest_filter.
Use posix_spawn rather than popen, to remove a surprising extra shell.
Bug: http://b/68949647
Test: /data/nativetest64/bionic-unit-tests/bionic-unit-tests --gtest_filter=stdio.swprintf_1$ju_UINTMAX_MAX
Change-Id: Id90afab04ee799932de9f5ca7e580e61ecfde7a4
diff --git a/tests/Android.bp b/tests/Android.bp
index 6ec3c3c..c045c1e 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -286,8 +286,9 @@
"gtest_main.cpp",
"gtest_globals.cpp",
],
- static_libs: [
+ whole_static_libs: [
"libbase",
+ "liblog",
],
include_dirs: [
"bionic/libc",
@@ -354,6 +355,9 @@
"gtest_main.cpp",
"gtest_globals_cts.cpp",
],
+ static_libs: [
+ "libbase",
+ ],
cppflags: ["-DUSING_GTEST_OUTPUT_FORMAT"],
shared: {
enabled: false,