From b343509ebd6767934089e596d39e278ba8068669 Mon Sep 17 00:00:00 2001 From: Edward Liaw Date: Fri, 7 Jun 2024 18:44:28 +0000 Subject: [PATCH] ANDROID: Remove obsolete -DKTEST flag from timers selftests -DKTEST is a leftover from an old timers Makefile that is no longer used. Bug: 339526723 Change-Id: I5f353fda3452e24adb8f2539ebc7b30fd6756479 Signed-off-by: Edward Liaw --- BUILD.bazel | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/BUILD.bazel b/BUILD.bazel index a5242a0ae9a1..6a203dc242c8 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -1616,7 +1616,6 @@ cc_binary_with_abi( srcs = ["tools/testing/selftests/timers/adjtick.c"], copts = [ "-O3", - "-DKTEST", ], path_prefix = _KSELFTEST_DIR, target_compatible_with = ["@platforms//os:android"], @@ -1629,7 +1628,6 @@ cc_binary_with_abi( srcs = ["tools/testing/selftests/timers/alarmtimer-suspend.c"], copts = [ "-O3", - "-DKTEST", ], path_prefix = _KSELFTEST_DIR, target_compatible_with = ["@platforms//os:android"], @@ -1642,7 +1640,6 @@ cc_binary_with_abi( srcs = ["tools/testing/selftests/timers/change_skew.c"], copts = [ "-O3", - "-DKTEST", ], path_prefix = _KSELFTEST_DIR, target_compatible_with = ["@platforms//os:android"], @@ -1660,7 +1657,6 @@ cc_binary_with_abi( srcs = ["tools/testing/selftests/timers/clocksource-switch.c"], copts = [ "-O3", - "-DKTEST", ], path_prefix = _KSELFTEST_DIR, target_compatible_with = ["@platforms//os:android"], @@ -1677,7 +1673,6 @@ cc_binary_with_abi( srcs = ["tools/testing/selftests/timers/freq-step.c"], copts = [ "-O3", - "-DKTEST", ], path_prefix = _KSELFTEST_DIR, target_compatible_with = ["@platforms//os:android"], @@ -1691,7 +1686,6 @@ cc_binary_with_abi( out = "inconsistency-check", copts = [ "-O3", - "-DKTEST", ], path_prefix = _KSELFTEST_DIR, target_compatible_with = ["@platforms//os:android"], @@ -1704,7 +1698,6 @@ cc_binary_with_abi( srcs = ["tools/testing/selftests/timers/leap-a-day.c"], copts = [ "-O3", - "-DKTEST", ], path_prefix = _KSELFTEST_DIR, target_compatible_with = ["@platforms//os:android"], @@ -1717,7 +1710,6 @@ cc_binary_with_abi( srcs = ["tools/testing/selftests/timers/leapcrash.c"], copts = [ "-O3", - "-DKTEST", ], path_prefix = _KSELFTEST_DIR, target_compatible_with = ["@platforms//os:android"], @@ -1731,7 +1723,6 @@ cc_binary_with_abi( out = "nanosleep", copts = [ "-O3", - "-DKTEST", ], path_prefix = _KSELFTEST_DIR, target_compatible_with = ["@platforms//os:android"], @@ -1745,7 +1736,6 @@ cc_binary_with_abi( out = "nsleep-lat", copts = [ "-O3", - "-DKTEST", ], path_prefix = _KSELFTEST_DIR, target_compatible_with = ["@platforms//os:android"], @@ -1758,7 +1748,6 @@ cc_binary_with_abi( srcs = ["tools/testing/selftests/timers/posix_timers.c"], copts = [ "-O3", - "-DKTEST", ], path_prefix = _KSELFTEST_DIR, target_compatible_with = ["@platforms//os:android"], @@ -1772,7 +1761,6 @@ cc_binary_with_abi( out = "raw_skew", copts = [ "-O3", - "-DKTEST", ], path_prefix = _KSELFTEST_DIR, target_compatible_with = ["@platforms//os:android"], @@ -1785,7 +1773,6 @@ cc_binary_with_abi( srcs = ["tools/testing/selftests/timers/set-2038.c"], copts = [ "-O3", - "-DKTEST", ], path_prefix = _KSELFTEST_DIR, target_compatible_with = ["@platforms//os:android"], @@ -1803,7 +1790,6 @@ cc_binary_with_abi( srcs = ["tools/testing/selftests/timers/set-tai.c"], copts = [ "-O3", - "-DKTEST", ], path_prefix = _KSELFTEST_DIR, target_compatible_with = ["@platforms//os:android"], @@ -1816,7 +1802,6 @@ cc_binary_with_abi( srcs = ["tools/testing/selftests/timers/set-timer-lat.c"], copts = [ "-O3", - "-DKTEST", ], path_prefix = _KSELFTEST_DIR, target_compatible_with = ["@platforms//os:android"], @@ -1829,7 +1814,6 @@ cc_binary_with_abi( srcs = ["tools/testing/selftests/timers/set-tz.c"], copts = [ "-O3", - "-DKTEST", ], path_prefix = _KSELFTEST_DIR, target_compatible_with = ["@platforms//os:android"], @@ -1842,7 +1826,6 @@ cc_binary_with_abi( srcs = ["tools/testing/selftests/timers/skew_consistency.c"], copts = [ "-O3", - "-DKTEST", ], path_prefix = _KSELFTEST_DIR, target_compatible_with = ["@platforms//os:android"], @@ -1858,7 +1841,6 @@ cc_binary_with_abi( srcs = ["tools/testing/selftests/timers/threadtest.c"], copts = [ "-O3", - "-DKTEST", ], path_prefix = _KSELFTEST_DIR, target_compatible_with = ["@platforms//os:android"], @@ -1871,7 +1853,6 @@ cc_binary_with_abi( srcs = ["tools/testing/selftests/timers/valid-adjtimex.c"], copts = [ "-O3", - "-DKTEST", ], path_prefix = _KSELFTEST_DIR, target_compatible_with = ["@platforms//os:android"],