[llvm] [unittest] Add option to allow disabling sharding in unittest (PR #67063)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 25 12:13:38 PDT 2023
================
@@ -0,0 +1,105 @@
+#!/usr/bin/env python
+
+import os
+import sys
+
+if len(sys.argv) == 3 and sys.argv[1] == "--gtest_list_tests":
+ if sys.argv[2] != "--gtest_filter=-*DISABLED_*":
+ raise ValueError("unexpected argument: %s" % (sys.argv[2]))
----------------
zeroomega wrote:
Done.
https://github.com/llvm/llvm-project/pull/67063
More information about the llvm-commits
mailing list