summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKuba Mracek <mracek@apple.com>2017-01-07 07:41:47 +0000
committerKuba Mracek <mracek@apple.com>2017-01-07 07:41:47 +0000
commitcba3c85d7e7b1d394c7ec39a5738ed8719004488 (patch)
tree97b47b60e4de4584e010c4dd16bf2bc46c6104c7
parentdf7da15b5ed91ef3f1ef8ff19bac8d33b56a6374 (diff)
downloadcompiler-rt-cba3c85d7e7b1d394c7ec39a5738ed8719004488.tar.gz
Follow-up for r291277: Redirect otool output to stderr.
Tests need to output everything into a single stream, or FileCheck is sometimes confused (buffering can cause stdout/stderr to be interleaved randomly). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@291339 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/asan/TestCases/Darwin/uuid.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/TestCases/Darwin/uuid.cc b/test/asan/TestCases/Darwin/uuid.cc
index 2699f92cc..3f50272e9 100644
--- a/test/asan/TestCases/Darwin/uuid.cc
+++ b/test/asan/TestCases/Darwin/uuid.cc
@@ -10,7 +10,7 @@
int main(int argc, char *argv[]) {
char buf[2048];
- snprintf(buf, sizeof(buf), "otool -l %s", argv[0]);
+ snprintf(buf, sizeof(buf), "otool -l %s 1>&2", argv[0]);
system(buf);
// CHECK: cmd LC_UUID
// CHECK-NEXT: cmdsize 24