[compiler-rt] 3ad3f05 - [NFC][tsan] Move `variadic-open` test
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 22 12:36:21 PDT 2024
Author: Vitaly Buka
Date: 2024-09-22T12:35:56-07:00
New Revision: 3ad3f05ac872fabb55e9340594c3d7d5195ae08c
URL: https://github.com/llvm/llvm-project/commit/3ad3f05ac872fabb55e9340594c3d7d5195ae08c
DIFF: https://github.com/llvm/llvm-project/commit/3ad3f05ac872fabb55e9340594c3d7d5195ae08c.diff
LOG: [NFC][tsan] Move `variadic-open` test
There is nothing Darwin or tsan specific in the test.
For #108291
Added:
compiler-rt/test/sanitizer_common/TestCases/Posix/variadic-open.cpp
Modified:
Removed:
compiler-rt/test/tsan/Darwin/variadic-open.cpp
################################################################################
diff --git a/compiler-rt/test/tsan/Darwin/variadic-open.cpp b/compiler-rt/test/sanitizer_common/TestCases/Posix/variadic-open.cpp
similarity index 88%
rename from compiler-rt/test/tsan/Darwin/variadic-open.cpp
rename to compiler-rt/test/sanitizer_common/TestCases/Posix/variadic-open.cpp
index cd7684005cecae..1d77eb3765f504 100644
--- a/compiler-rt/test/tsan/Darwin/variadic-open.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Posix/variadic-open.cpp
@@ -1,4 +1,5 @@
-// RUN: %clangxx_tsan -O1 %s -o %t && %run %t %t.tmp 2>&1 | FileCheck %s
+// RUN: %clangxx -O1 %s -o %t && %run %t %t.tmp 2>&1 | FileCheck %s
+
#include <stdio.h>
#include <assert.h>
#include <fcntl.h>
More information about the llvm-commits
mailing list