From 62dbfb57d2bb24d2059995c8f391ce548636ab2f Mon Sep 17 00:00:00 2001 From: Ezekiel Warren Date: Tue, 30 Apr 2024 00:13:22 -0700 Subject: [PATCH] chore: formatting --- BUILD.bazel | 11 ++++----- test/BUILD.bazel | 59 ++++++++++++++++++++++++------------------------ 2 files changed, 35 insertions(+), 35 deletions(-) diff --git a/BUILD.bazel b/BUILD.bazel index 39edcae1f..fe613ccbb 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -18,7 +18,7 @@ _COMMON_HDRS = [ "include/boost/thread/*.hpp", "include/boost/thread/futures/*.hpp", "include/boost/thread/csbl/*.hpp", - "include/boost/thread/executors/*.hpp" + "include/boost/thread/executors/*.hpp", ] _WINDOWS_HDRS = [ @@ -26,7 +26,7 @@ _WINDOWS_HDRS = [ ] _POSIX_HDRS = [ - "include/boost/thread/pthread/*.hpp" + "include/boost/thread/pthread/*.hpp", ] _MAC_HDRS = [ @@ -39,7 +39,7 @@ _WINDOWS_SRCS = [ _MAC_SRCS = [ "src/pthread/once.cpp", - "src/pthread/thread.cpp" + "src/pthread/thread.cpp", ] _POSIX_SRCS = [ @@ -98,17 +98,16 @@ cc_library( "@platforms//os:windows": ["@platforms//:incompatible"], "@platforms//os:macos": [], "//conditions:default": ["@platforms//:incompatible"], - }), + }), hdrs = glob(_MAC_HDRS + _COMMON_HDRS), srcs = glob(_MAC_SRCS + _COMMON_SRCS, exclude = _COMMON_EXCLUDE_SRCS), includes = ["include"], defines = [ "BOOST_THREAD_DONT_USE_ATOMIC", ], - deps = _COMMON_DEPS + deps = _COMMON_DEPS, ) - cc_library( name = "boost.thread", hdrs = glob([ diff --git a/test/BUILD.bazel b/test/BUILD.bazel index cfcfca06d..5bba4dbae 100644 --- a/test/BUILD.bazel +++ b/test/BUILD.bazel @@ -29,33 +29,33 @@ _TESTS = { "test_7720": [], "test_7755": [], "test_8508": [], - # Misses malloc.h which is deprecated "test_8557": [], - "test_8586": [], - "test_8596": [], - "test_8600": [], + # Misses malloc.h which is deprecated "test_8557": [], + "test_8586": [], + "test_8596": [], + "test_8600": [], "test_8674": [], - "test_8943": [], - "test_8960": [], - "test_9079_a": [], + "test_8943": [], + "test_8960": [], + "test_9079_a": [], # Misses iostream "test_9079_b": [], # Misses iostream "test_9192": ["@boost.interprocess"], # Uses boost::future which cannot compile "test_9303": ["@boost.asio"], - "test_9319": [], - "test_9711": [], - "test_9856": [], - "test_10340": [], - # Fails and is unclear why. Needs further investigation. "test_10963": [], - "test_10964": [], - "test_11053": [], - "test_11256": [], - "test_11266": [], - "test_11499": [], - "test_11611": [], - "test_11796": [], + "test_9319": [], + "test_9711": [], + "test_9856": [], + "test_10340": [], + # Fails and is unclear why. Needs further investigation. "test_10963": [], + "test_10964": [], + "test_11053": [], + "test_11256": [], + "test_11266": [], + "test_11499": [], + "test_11611": [], + "test_11796": [], # Misses iostream "test_11818": [], - "test_12293": [], - "test_12949": [], - "test_13480b": ["@boost.variant"], + "test_12293": [], + "test_12949": [], + "test_13480b": ["@boost.variant"], # Misses a nonexistent file from @boost.system "test_13561": [], "test_barrier_size_fct": [], "test_barrier_void_fct": [], @@ -91,11 +91,11 @@ _TESTS = { "test_thread": [], # Uses boost::future which cannot compile "test_time_jumps": [], "test_tss": [], - "test_xtime": [] + "test_xtime": [], } _POSIX_ONLY_TESTS = { -} +} _MAC_ONLY_TESTS = { "test_6130": [], @@ -140,7 +140,7 @@ _WINDOWS_ONLY_TESTS = { "@platforms//os:windows": ["@platforms//:incompatible"], "@platforms//os:macos": ["@platforms//:incompatible"], "//conditions:default": [], - }), + }), deps = [ "@boost.test", "@boost.test//:unit_test_main", @@ -162,7 +162,7 @@ _WINDOWS_ONLY_TESTS = { "@platforms//os:windows": ["@platforms//:incompatible"], "@platforms//os:macos": [], "//conditions:default": ["@platforms//:incompatible"], - }), + }), deps = [ "@boost.test", "@boost.test//:unit_test_main", @@ -182,12 +182,13 @@ _WINDOWS_ONLY_TESTS = { "@platforms//os:windows": [], "@platforms//os:macos": ["@platforms//:incompatible"], "//conditions:default": ["@platforms//:incompatible"], - }), + }), deps = [ "@boost.test", "@boost.test//:unit_test_main", "@boost.thread", ] + _WINDOWS_ONLY_TESTS[test], # Windows needs to link statically to get rid of undefined symbols - linkstatic = True -) for test in _WINDOWS_ONLY_TESTS] \ No newline at end of file + linkstatic = True, +) for test in _WINDOWS_ONLY_TESTS] +