diff options
author | Dean Michael Berris <dberris@google.com> | 2017-10-25 05:19:20 +0000 |
---|---|---|
committer | Dean Michael Berris <dberris@google.com> | 2017-10-25 05:19:20 +0000 |
commit | 826256f983123262c717265dcb991d7ea3bfbcdc (patch) | |
tree | 3a1b424e7e1b6f54661538ca835745e877a80eba /test/xray | |
parent | f49c63699ef9867eb0127ee4a66dd5508870688d (diff) |
[XRay][compiler-rt][NFC] Clean up xray log files before running test
Improves the test behaviour in the face of failure. Without this change
the fdr-single-thread.cc test may leave around artefacts of a previous
failing run since the cleanup doesn't happen if any of the intermediary
steps fail.
Non-functional change.
Subscribers: llvm-commits
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@316548 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/xray')
-rw-r--r-- | test/xray/TestCases/Linux/fdr-single-thread.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/xray/TestCases/Linux/fdr-single-thread.cc b/test/xray/TestCases/Linux/fdr-single-thread.cc index 30d834e57..dd50f485f 100644 --- a/test/xray/TestCases/Linux/fdr-single-thread.cc +++ b/test/xray/TestCases/Linux/fdr-single-thread.cc @@ -1,4 +1,5 @@ // RUN: %clangxx_xray -g -std=c++11 %s -o %t +// RUN: rm fdr-logging-1thr-* || true // RUN: XRAY_OPTIONS=XRAY_OPTIONS="verbosity=1 patch_premain=true \ // RUN: xray_naive_log=false xray_fdr_log=true \ // RUN: xray_fdr_log_func_duration_threshold_us=0 \ |