Run bpfmt manually.
Bug: N/A
Test: builds
Change-Id: I0cf145c3b699ac8ef170a63366832f63a9cc1a91
diff --git a/tests/Android.bp b/tests/Android.bp
index 443fe8e..56a4722 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -245,10 +245,13 @@
cc_test_library {
name: "libfortify1-tests-clang",
- defaults: ["bionic_fortify_tests_defaults", "bionic_tests_defaults"],
+ defaults: [
+ "bionic_fortify_tests_defaults",
+ "bionic_tests_defaults",
+ ],
cflags: [
"-D_FORTIFY_SOURCE=1",
- "-DTEST_NAME=Fortify1_clang"
+ "-DTEST_NAME=Fortify1_clang",
],
shared: {
enabled: false,
@@ -257,10 +260,13 @@
cc_test_library {
name: "libfortify2-tests-clang",
- defaults: ["bionic_fortify_tests_defaults", "bionic_tests_defaults"],
+ defaults: [
+ "bionic_fortify_tests_defaults",
+ "bionic_tests_defaults",
+ ],
cflags: [
"-D_FORTIFY_SOURCE=2",
- "-DTEST_NAME=Fortify2_clang"
+ "-DTEST_NAME=Fortify2_clang",
],
shared: {
enabled: false,
@@ -312,7 +318,10 @@
cc_test_library {
name: "libBionicLoaderTests",
- defaults: ["bionic_tests_defaults", "llvm-defaults"],
+ defaults: [
+ "bionic_tests_defaults",
+ "llvm-defaults",
+ ],
srcs: [
"atexit_test.cpp",
"dl_test.cpp",
@@ -347,7 +356,7 @@
"libLLVMCore",
"libLLVMSupport",
],
- }
+ },
},
}
@@ -439,12 +448,15 @@
"-Wl,--enable-new-dtags",
],
},
- }
+ },
}
cc_test {
name: "bionic-unit-tests",
- defaults: ["bionic_unit_tests_defaults", "bionic_tests_defaults"],
+ defaults: [
+ "bionic_unit_tests_defaults",
+ "bionic_tests_defaults",
+ ],
target: {
android: {
diff --git a/tests/headers/posix/Android.bp b/tests/headers/posix/Android.bp
index 682627f..8f3a2f2 100644
--- a/tests/headers/posix/Android.bp
+++ b/tests/headers/posix/Android.bp
@@ -18,11 +18,11 @@
name: "libbionic_tests_headers_posix",
srcs: ["*.c"],
cflags: [
- "-Wno-absolute-value", // broken clang diagnostic that doesn't understand <tgmath.h>
- "-Wno-deprecated",
- "-Werror",
- "-D_POSIX_C_SOURCE=200809L",
- "-D_XOPEN_SOURCE=700",
+ "-Wno-absolute-value", // broken clang diagnostic that doesn't understand <tgmath.h>
+ "-Wno-deprecated",
+ "-Werror",
+ "-D_POSIX_C_SOURCE=200809L",
+ "-D_XOPEN_SOURCE=700",
],
host_supported: true,
target: {
diff --git a/tests/libs/Android.bp b/tests/libs/Android.bp
index cae30b5..3afda67 100644
--- a/tests/libs/Android.bp
+++ b/tests/libs/Android.bp
@@ -80,7 +80,7 @@
defaults: ["bionic_testlib_defaults"],
srcs: ["dlext_test_library.cpp"],
ldflags: ["-Wl,-z,norelro"],
- shared_libs = ["libtest_simple"],
+ shared_libs: ["libtest_simple"],
}
// -----------------------------------------------------------------------------
@@ -123,7 +123,6 @@
relative_install_path: "bionic-loader-test-libs/public_namespace_libs",
}
-
// -----------------------------------------------------------------------------
// Library used by dlext indirect unload on the namespace boundary tests
//
@@ -407,7 +406,6 @@
// +-> libtest_relo_check_dt_needed_order_2.so
// -----------------------------------------------------------------------------
-
cc_test_library {
name: "libtest_relo_check_dt_needed_order",
defaults: ["bionic_testlib_defaults"],
@@ -457,7 +455,7 @@
name: "libtest_ifunc_variable",
defaults: ["bionic_testlib_defaults"],
srcs: ["dlopen_testlib_ifunc_variable.cpp"],
- shared_libs: [ "libtest_ifunc_variable_impl" ],
+ shared_libs: ["libtest_ifunc_variable_impl"],
arch: {
mips: {
@@ -560,7 +558,6 @@
},
}
-
// -----------------------------------------------------------------------------
// Library with weak function
// -----------------------------------------------------------------------------
@@ -696,7 +693,6 @@
srcs: ["thread_local_dtor.cpp"],
}
-
// -----------------------------------------------------------------------------
// Tool to use to align the shared libraries in a zip file.
// -----------------------------------------------------------------------------