From 001deff94019db907b3ce1e5b17a35b44744b7eb Mon Sep 17 00:00:00 2001 From: Alexander Potapenko Date: Fri, 20 Mar 2015 13:42:11 +0000 Subject: [PATCH] [ASan] Move a couple of Posix-specific tests to Posix/ Add a comment about potential breakage of coverage-maybe-open-file.cc on Win llvm-svn: 232809 --- compiler-rt/test/asan/TestCases/{ => Posix}/coverage-fork.cc | 0 .../test/asan/TestCases/{ => Posix}/log_path_fork_test.cc.disabled | 0 compiler-rt/test/asan/TestCases/coverage-maybe-open-file.cc | 1 + 3 files changed, 1 insertion(+) rename compiler-rt/test/asan/TestCases/{ => Posix}/coverage-fork.cc (100%) rename compiler-rt/test/asan/TestCases/{ => Posix}/log_path_fork_test.cc.disabled (100%) diff --git a/compiler-rt/test/asan/TestCases/coverage-fork.cc b/compiler-rt/test/asan/TestCases/Posix/coverage-fork.cc similarity index 100% rename from compiler-rt/test/asan/TestCases/coverage-fork.cc rename to compiler-rt/test/asan/TestCases/Posix/coverage-fork.cc diff --git a/compiler-rt/test/asan/TestCases/log_path_fork_test.cc.disabled b/compiler-rt/test/asan/TestCases/Posix/log_path_fork_test.cc.disabled similarity index 100% rename from compiler-rt/test/asan/TestCases/log_path_fork_test.cc.disabled rename to compiler-rt/test/asan/TestCases/Posix/log_path_fork_test.cc.disabled diff --git a/compiler-rt/test/asan/TestCases/coverage-maybe-open-file.cc b/compiler-rt/test/asan/TestCases/coverage-maybe-open-file.cc index 4580de4..ca3f92e 100644 --- a/compiler-rt/test/asan/TestCases/coverage-maybe-open-file.cc +++ b/compiler-rt/test/asan/TestCases/coverage-maybe-open-file.cc @@ -15,6 +15,7 @@ #include +// FIXME: the code below might not work on Windows. int main(int argc, char **argv) { int fd = __sanitizer_maybe_open_cov_file("test"); if (fd > 0) { -- 2.7.4