[clang] [clang][ssaf][test] Fix the extraction-works-alongside-compilation.cpp test (PR #191162)
Balázs Benics via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 9 04:07:41 PDT 2026
https://github.com/steakhal created https://github.com/llvm/llvm-project/pull/191162
I forgot that we need this `REQUIRES: asserts` for the test.
Fixes build bots not setting `LLVM_ENABLE_ASSERTIONS=ON`.
For example:
https://lab.llvm.org/buildbot/#/builders/11/builds/37623
This fixes up #191058
>From 78fa727f443a212e5382a374b00285b70dfcfaa6 Mon Sep 17 00:00:00 2001
From: Balazs Benics <benicsbalazs at gmail.com>
Date: Thu, 9 Apr 2026 12:04:23 +0100
Subject: [PATCH] [clang][ssaf][test] Fix the
extraction-works-alongside-compilation.cpp test
I forgot that we need this REQUIRES: asserts for the test.
Fixes build bots not setting LLVM_ENABLE_ASSERTIONS=ON.
For example:
https://lab.llvm.org/buildbot/#/builders/11/builds/37623
This fixes up #191058
---
.../Analysis/Scalable/extraction-works-alongside-compilation.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/clang/test/Analysis/Scalable/extraction-works-alongside-compilation.cpp b/clang/test/Analysis/Scalable/extraction-works-alongside-compilation.cpp
index 0077d557e31bc..1d8ccbe500f08 100644
--- a/clang/test/Analysis/Scalable/extraction-works-alongside-compilation.cpp
+++ b/clang/test/Analysis/Scalable/extraction-works-alongside-compilation.cpp
@@ -1,3 +1,4 @@
+// REQUIRES: asserts
// DEFINE: %{filecheck} = FileCheck %s --match-full-lines --check-prefix
// DEFINE: %{codegen} = %clang -c %s -o %t.o -mllvm -debug-only=codegenaction 2>&1
More information about the cfe-commits
mailing list