[libc-commits] [libc] [libc] Use `LIBC_COPT_PUBLIC_PACKAGING` for hermetic and integration tests. (PR #79319)

Guillaume Chatelet via libc-commits libc-commits at lists.llvm.org
Fri Jan 26 00:56:00 PST 2024


================
@@ -126,13 +115,17 @@ int Test::runTests(const char *TestFilter) {
       continue;
     }
     tlog << GREEN << "[ RUN      ] " << RESET << TestName << '\n';
+#ifdef LIBC_TEST_USE_CLOCK
     [[maybe_unused]] const auto start_time = clock();
----------------
gchatelet wrote:

`[[maybe_unused]]` is not necessary anymore if the lines are compiled conditionally.

https://github.com/llvm/llvm-project/pull/79319


More information about the libc-commits mailing list