Skip to content

Commit

Permalink
Fixes for Haiku tests on Win32
Browse files Browse the repository at this point in the history
  • Loading branch information
brad0 committed Sep 9, 2023
1 parent b0068b5 commit c184f27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions clang/test/Driver/haiku.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// UNSUPPORTED: system-windows

// Check the C header paths
// RUN: %clang --target=x86_64-unknown-haiku -### %s 2>&1 \
// RUN: | FileCheck --check-prefix=CHECK-C-HEADER-PATH %s
Expand Down
4 changes: 2 additions & 2 deletions clang/test/Driver/haiku.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Check the C++ header path (libstdc++)
// RUN: %clang++ --target=x86_64-unknown-haiku -### %s 2>&1 \
// RUN: %clangxx --target=x86_64-unknown-haiku -### %s 2>&1 \
// RUN: --sysroot=%S/Inputs/haiku_x86_64_tree \
// RUN: | FileCheck --check-prefix=CHECK-LIBSTDCXX-HEADER-PATH %s
// CHECK-LIBSTDCXX-HEADER-PATH: "-internal-isystem" "[[SYSROOT:[^"]+]]/boot/system/develop/headers/c++"

// Check the C++ header path (when using libc++)
// RUN: %clang++ --target=x86_64-unknown-haiku --stdlib=libc++ -### %s 2>&1 \
// RUN: %clangxx --target=x86_64-unknown-haiku --stdlib=libc++ -### %s 2>&1 \
// RUN: --sysroot=%S/Inputs/haiku_x86_64_tree \
// RUN: | FileCheck --check-prefix=CHECK-LIBCXX-HEADER-PATH %s
// CHECK-LIBCXX-HEADER-PATH: "-internal-isystem" "[[SYSROOT:[^"]+]]/boot/system/develop/headers/c++/v1"

0 comments on commit c184f27

Please sign in to comment.