[clang] [clang][test] Remove duplication from gcc toolchain test (NFC) (PR #146487)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 1 01:48:20 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang-driver
Author: Frederik Harwath (frederik-h)
<details>
<summary>Changes</summary>
Changes from Commit 40aab0412fe7a14781e133627c2bb0a22761eac8 "[test] Migrate -gcc-toolchain with space separator to --gcc-toolchain=" made two previously different RUN lines equal.
Remove one RUN line.
---
Full diff: https://github.com/llvm/llvm-project/pull/146487.diff
1 Files Affected:
- (modified) clang/test/Driver/gcc-toolchain.cpp (-5)
``````````diff
diff --git a/clang/test/Driver/gcc-toolchain.cpp b/clang/test/Driver/gcc-toolchain.cpp
index 6d4ad417cfec6..a14e8d00af1ef 100644
--- a/clang/test/Driver/gcc-toolchain.cpp
+++ b/clang/test/Driver/gcc-toolchain.cpp
@@ -6,11 +6,6 @@
// RUN: --gcc-toolchain=%S/Inputs/ubuntu_14.04_multiarch_tree/usr -stdlib=libstdc++ --rtlib=libgcc --unwindlib=libgcc -no-pie 2>&1 | \
// RUN: FileCheck %s
//
-// Additionally check that the legacy spelling of the flag works.
-// RUN: %clangxx %s -### --target=x86_64-linux-gnu --sysroot= \
-// RUN: --gcc-toolchain=%S/Inputs/ubuntu_14.04_multiarch_tree/usr -stdlib=libstdc++ --rtlib=libgcc --unwindlib=libgcc -no-pie 2>&1 | \
-// RUN: FileCheck %s
-//
// Test for header search toolchain detection.
// CHECK: "-internal-isystem"
// CHECK: "[[TOOLCHAIN:[^"]+]]/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8"
``````````
</details>
https://github.com/llvm/llvm-project/pull/146487
More information about the cfe-commits
mailing list