summaryrefslogtreecommitdiff
path: root/test/tsan/suppressions_global.cc
diff options
context:
space:
mode:
authorFilipe Cabecinhas <me@filcab.net>2014-12-18 18:25:18 +0000
committerFilipe Cabecinhas <me@filcab.net>2014-12-18 18:25:18 +0000
commitca27fcfb562663b9395f4a25193e6e1585c26157 (patch)
treec4115ee7e3fc3c4c876215cc0bc51814bb839f19 /test/tsan/suppressions_global.cc
parentab391a3991cb3cc35232ac6d2ed0f250cfd3ad56 (diff)
Fix suppressions file usage
Summary: Always quote suppressions files given to *_OPTIONS. This will make it not break when given full Windows paths (otherwise, parsing would stop after the drive's letter + ':'). Also fix one or two cases where the suppression files' extensions were not *.supp. Reviewers: samsonov, kcc Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D6680 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224529 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tsan/suppressions_global.cc')
-rw-r--r--test/tsan/suppressions_global.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tsan/suppressions_global.cc b/test/tsan/suppressions_global.cc
index c808a63d9..c7b9bb99e 100644
--- a/test/tsan/suppressions_global.cc
+++ b/test/tsan/suppressions_global.cc
@@ -1,4 +1,4 @@
-// RUN: %clang_tsan -O1 %s -o %t && TSAN_OPTIONS="$TSAN_OPTIONS suppressions=%s.supp" %run %t 2>&1 | FileCheck %s
+// RUN: %clang_tsan -O1 %s -o %t && TSAN_OPTIONS="$TSAN_OPTIONS suppressions='%s.supp'" %run %t 2>&1 | FileCheck %s
#include <pthread.h>
#include <stdio.h>