Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ci/monolithic-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
-D LLVM_ENABLE_ASSERTIONS=ON \
-D LLVM_BUILD_EXAMPLES=ON \
-D COMPILER_RT_BUILD_LIBFUZZER=OFF \
-D LLVM_LIT_ARGS="-v --xunit-xml-output ${BUILD_DIR}/test-results.xml --use-unique-output-file-name --timeout=1200 --time-tests --succinct" \
-D LLVM_LIT_ARGS="-vv --xunit-xml-output ${BUILD_DIR}/test-results.xml --use-unique-output-file-name --timeout=60 --time-tests --succinct" \
-D COMPILER_RT_BUILD_ORC=OFF \
-D CMAKE_C_COMPILER_LAUNCHER=sccache \
-D CMAKE_CXX_COMPILER_LAUNCHER=sccache \
Expand Down
4 changes: 2 additions & 2 deletions compiler-rt/test/asan/TestCases/Linux/allocator_oom_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
// ASan shadow memory on s390 is too large for this test.
// AArch64 bots fail on this test.
// TODO(alekseys): Android lit do not run ulimit on device.
// REQUIRES: shell, shadow-scale-3
// UNSUPPORTED: android, target={{(s390|aarch64|powerpc64le).*}}
// REQUIRES: shadow-scale-3
// UNSUPPORTED: android, target={{(s390|aarch64|powerpc64le).*}}, system-windows

#include <stdlib.h>
#include <string.h>
Expand Down
3 changes: 2 additions & 1 deletion compiler-rt/test/asan/TestCases/Posix/deep_call_stack.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Check that UAR mode can handle very deep recursion.
// REQUIRES: shell
// Requires ulimit
// UNSUPPORTED: system-windows
// TODO(boomanaiden154): This test currently fails with the internal
// shell because python is not able to set RLIMIT_STACK. We should
// reenable this when the behavior is fixed.
Expand Down
5 changes: 1 addition & 4 deletions compiler-rt/test/asan/TestCases/log-path_test.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// FIXME: https://code.google.com/p/address-sanitizer/issues/detail?id=316
// UNSUPPORTED: ios, android
//
// The for loop in the backticks below requires bash.
// REQUIRES: shell
//
// RUN: %clangxx_asan %s -o %t

// Regular run.
Expand Down Expand Up @@ -35,7 +32,7 @@
// RUN: not cat %t.log.*

// FIXME: log_path is not supported on Windows yet.
// XFAIL: target={{.*windows-msvc.*}}
// UNSUPPORTED: system-windows

#include <stdlib.h>
#include <string.h>
Expand Down
6 changes: 3 additions & 3 deletions compiler-rt/test/asan/TestCases/scariness_score_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@
// RUN: not %run %t 27 2>&1 | FileCheck %s --check-prefix=CHECK27
// Parts of the test are too platform-specific:
// REQUIRES: x86_64-target-arch
// REQUIRES: shell
// TODO(boomanaiden154): This test currently fails with the internal
// shell because python is not able to set RLIMIT_STACK. We should
// reenable this when the behavior is fixed.
// UNSUPPORTED: system-darwin
// reenable this when the behavior is fixed. Windows does not support
// ulimit.
// UNSUPPORTED: system-darwin, system-windows
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
Expand Down
2 changes: 1 addition & 1 deletion compiler-rt/test/fuzzer/features_dir.test
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Tests -features_dir=F
# REQUIRES: linux, shell
# REQUIRES: linux
RUN: %cpp_compiler %S/SimpleTest.cpp -o %t-SimpleTest
RUN: rm -rf %t-C %t-F
RUN: mkdir %t-C %t-F
Expand Down
1 change: 0 additions & 1 deletion compiler-rt/test/fuzzer/fork-sigusr.test
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Check that libFuzzer honors SIGUSR1/SIGUSR2
# Disabled on Windows which does not have SIGUSR1/SIGUSR2.
REQUIRES: shell
UNSUPPORTED: darwin, target={{.*windows.*}}, target=aarch64{{.*}}
RUN: rm -rf %t
RUN: mkdir -p %t
Expand Down
1 change: 0 additions & 1 deletion compiler-rt/test/fuzzer/merge-posix.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
REQUIRES: shell
XFAIL: ios
RUN: %cpp_compiler %S/FullCoverageSetTest.cpp -o %t-FullCoverageSetTest

Expand Down
1 change: 0 additions & 1 deletion compiler-rt/test/fuzzer/merge-sigusr.test
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Check that libFuzzer honors SIGUSR1/SIGUSR2
# FIXME: Disabled on Windows for now because of reliance on posix only features
# (eg: export, "&", pkill).
REQUIRES: shell
UNSUPPORTED: darwin, target={{.*windows.*}}
RUN: rm -rf %t
RUN: mkdir -p %t
Expand Down
2 changes: 1 addition & 1 deletion compiler-rt/test/fuzzer/sigint.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
REQUIRES: shell, msan
REQUIRES: msan
UNSUPPORTED: target=arm{{.*}}

# Check that libFuzzer exits gracefully under SIGINT with MSan.
Expand Down
1 change: 0 additions & 1 deletion compiler-rt/test/fuzzer/sigusr.test
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# FIXME: Disabled on Windows for now because of reliance on posix only features
# (eg: export, "&", pkill).
REQUIRES: shell
UNSUPPORTED: darwin, target={{.*windows.*}}
# Check that libFuzzer honors SIGUSR1/SIGUSR2
RUN: rm -rf %t
Expand Down
3 changes: 2 additions & 1 deletion compiler-rt/test/fuzzer/ulimit.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
REQUIRES: shell
# Requires ulimit
UNSUPPORTED: system-windows
RUN: %cpp_compiler %S/SimpleTest.cpp -o %t-SimpleTest
RUN: ulimit -s 1000
RUN: not %run %t-SimpleTest
3 changes: 2 additions & 1 deletion compiler-rt/test/hwasan/TestCases/print-memory-usage.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Tests __hwasan_print_memory_usage.
// REQUIRES: shell
// Requires ulimit
// UNSUPPORTED: system-windows
// RUN: %clang_hwasan %s -o %t
// RUN: ulimit -s 1000
// RUN: %run %t 2>&1 | FileCheck %s
Expand Down
3 changes: 0 additions & 3 deletions compiler-rt/test/memprof/TestCases/log_path_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// The for loop in the backticks below requires bash.
// REQUIRES: shell
//
// RUN: %clangxx_memprof %s -o %t

// stderr log_path
Expand Down
1 change: 0 additions & 1 deletion compiler-rt/test/msan/Linux/reexec_unlimited_stack.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// MSAN re-execs on unlimited stacks. We use that to verify ReExec() uses the
// right path.
// REQUIRES: shell
// RUN: %clangxx_msan -O0 %s -o %t && ulimit -s unlimited && %run %t | FileCheck %s

#include <stdio.h>
Expand Down
3 changes: 2 additions & 1 deletion compiler-rt/test/profile/instrprof-hostname.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
// RUN: %run uname -n | tr -d '\n' > %t.n
// RUN: llvm-profdata merge -o %t.profdata %{readfile:%t.n}.%t-%{readfile:%t.n}.profraw_%{readfile:%t.n}
// RUN: %clang_profuse=%t.profdata -o - -S -emit-llvm %s | FileCheck %s
// REQUIRES: shell
// Requires uname
// UNSUPPORTED: system-windows

int main(int argc, const char *argv[]) {
// CHECK: br i1 %{{.*}}, label %{{.*}}, label %{{.*}}, !prof ![[PD1:[0-9]+]]
Expand Down
Loading