[clang] [clang][test] Use the FreeBSD sysroot tree in freebsd.cpp (PR #234366)
Brad Smith via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 21 13:47:43 PDT 2026
https://github.com/brad0 created https://github.com/llvm/llvm-project/pull/234366
The libc++ sysroot include path tests in freebsd.cpp were using
basic_openbsd_libcxx_tree as the sysroot. Use basic_freebsd_libcxx_tree
instead. Both trees have the same layout, so this does not change what
is being tested.
>From 6137c8091a1c6a1cddea7d274ae4ff7f47768dbf Mon Sep 17 00:00:00 2001
From: Brad Smith <brad at comstyle.com>
Date: Wed, 21 Oct 2026 16:46:44 -0400
Subject: [PATCH] [clang][test] Use the FreeBSD sysroot tree in freebsd.cpp
The libc++ sysroot include path tests in freebsd.cpp were using
basic_openbsd_libcxx_tree as the sysroot. Use basic_freebsd_libcxx_tree
instead. Both trees have the same layout, so this does not change what
is being tested.
---
clang/test/Driver/freebsd.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/clang/test/Driver/freebsd.cpp b/clang/test/Driver/freebsd.cpp
index 83f8bdafbb7e5b..b33259831be8db 100644
--- a/clang/test/Driver/freebsd.cpp
+++ b/clang/test/Driver/freebsd.cpp
@@ -31,7 +31,7 @@
// RUN: %clangxx %s -### -fsyntax-only 2>&1 \
// RUN: --target=amd64-unknown-freebsd \
// RUN: -ccc-install-dir %S/Inputs/install_tree_without_libcxx/bin \
-// RUN: --sysroot=%S/Inputs/basic_openbsd_libcxx_tree \
+// RUN: --sysroot=%S/Inputs/basic_freebsd_libcxx_tree \
// RUN: -resource-dir=%S/Inputs/resource_dir \
// RUN: | FileCheck --check-prefix=CHECK-LIBCXX-SYSROOT %s
// CHECK-LIBCXX-SYSROOT: "-cc1"
@@ -42,7 +42,7 @@
// RUN: %clangxx %s -### -fsyntax-only 2>&1 \
// RUN: --target=amd64-unknown-freebsd \
// RUN: -ccc-install-dir %S/Inputs/install_tree_without_libcxx/bin \
-// RUN: --sysroot=%S/Inputs/basic_openbsd_libcxx_tree/ \
+// RUN: --sysroot=%S/Inputs/basic_freebsd_libcxx_tree/ \
// RUN: -resource-dir=%S/Inputs/resource_dir \
// RUN: | FileCheck --check-prefix=CHECK-LIBCXX-SYSROOT-SLASH %s
// CHECK-LIBCXX-SYSROOT-SLASH: "-cc1"
More information about the cfe-commits
mailing list