https://github.com/frederik-h created https://github.com/llvm/llvm-project/pull/146487
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. >From f495f9aece299b4e194a39be7b66ce14c4632f2d Mon Sep 17 00:00:00 2001 From: Frederik Harwath <fharw...@amd.com> Date: Tue, 1 Jul 2025 10:36:52 +0200 Subject: [PATCH] [clang][test] Remove duplication from gcc toolchain test (NFC) 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. --- clang/test/Driver/gcc-toolchain.cpp | 5 ----- 1 file changed, 5 deletions(-) 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" _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits