llvm-project/compiler-rt/test
Fangrui Song 13a6750c2e [XRay] Fix fdr-thread-order.cc when current directory contains fdr-thread-order.cc
Summary:
Currently,

    cd test/xray/TestCases/Posix
    $build/bin/llvm-lit fdr-thread-order.cc

fails because `rm fdr-thread-order.*` deletes the .cc file.

This patch uses:

* %t as temporary directory name containing log files
* %t.exe as executable name

It does not delete %t after the test finishes for debugging convenience.
This matches the behavior of tests of various other LLVM components.

Log files will not clog up because the temporary directory (unique among
test files but the same among multiple invocations of a test) is cleaned
at the beginning of the test.

Reviewers: dberris, mboerger, eizan

Reviewed By: dberris

Subscribers: delcypher, llvm-commits, #sanitizers

Differential Revision: https://reviews.llvm.org/D52638

llvm-svn: 343295
2018-09-28 04:20:08 +00:00
..
BlocksRuntime
asan [Coverage] Disable Linux/coverage-missing.cc in AddressSanitizer-i386-linux testsuite 2018-09-27 06:37:15 +00:00
builtins [compiler-rt] [builtins] Restore tests from r342917 (disabled in r343095) on Windows. 2018-09-27 18:13:01 +00:00
cfi [CMake] Use normalized Windows target triples 2018-08-09 02:16:18 +00:00
dfsan Add weak definitions of trace-cmp hooks to dfsan 2018-06-01 21:59:25 +00:00
esan [tsan] Update unittest for logging changes of r308637 2017-07-20 20:06:00 +00:00
fuzzer [libfuzzer] Fix a test's run line 2018-09-21 10:50:15 +00:00
hwasan [hwasan] Record and display stack history in stack-based reports. 2018-09-24 23:03:34 +00:00
interception Revert "[interception] Check for export table's size before referring to its elements." 2017-01-22 03:30:14 +00:00
lsan [lsan] Check that leak sanitizer works in the forked process 2018-08-27 19:15:05 +00:00
msan [Msan] Fix unit test linkage issue on FreeBSD 2018-09-11 10:35:32 +00:00
profile [Profile] Fix gcov tests 2018-09-25 11:12:15 +00:00
safestack SafeStack: Fix flaky test (PR39001) 2018-09-21 19:02:32 +00:00
sanitizer_common [UBSan] Partially fix `test/ubsan/TestCases/Misc/log-path_test.cc` so that it can run on devices. 2018-09-17 13:33:44 +00:00
scudo [scudo] Fix race condition in deallocation path when Quarantine is bypassed 2018-08-14 18:34:52 +00:00
shadowcallstack [scs] Disable negative test in shadowcallstack. 2018-06-29 15:16:45 +00:00
tsan [tsan] Avoid calling Block_copy in the "sync" GCD interceptors 2018-08-21 21:24:22 +00:00
ubsan [compiler-rt][ubsan][NFC] Slight test cleanup in preparation for D50902. 2018-09-27 19:07:47 +00:00
ubsan_minimal [NFC] Some small test updates for Implicit Conversion sanitizer. 2018-08-17 07:33:38 +00:00
xray [XRay] Fix fdr-thread-order.cc when current directory contains fdr-thread-order.cc 2018-09-28 04:20:08 +00:00
CMakeLists.txt [libFuzzer] Enable tests on Windows 2018-09-04 17:08:47 +00:00
lit.common.cfg When running the ios/iossim prepare script show the script output when it returns with a non-zero exit code. 2018-09-24 09:30:33 +00:00
lit.common.configured.in [compiler-rt] Add NewPM testing to CFI tests 2018-07-19 15:32:48 +00:00