diff options
author | Renato Golin <renato.golin@linaro.org> | 2016-04-14 12:10:21 +0000 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2016-04-14 12:10:21 +0000 |
commit | 17b8b0625252be3d14609b248c6701fe0d10dbb8 (patch) | |
tree | b3cd4a7617ff121fcbe8dd0e3515472294c87d13 /compiler-rt/test/tsan/virtual_inheritance_compile_bug.cc | |
parent | 217a98c0d115af277b6749c70a8db8e82b4d336b (diff) | |
download | bcm5719-llvm-17b8b0625252be3d14609b248c6701fe0d10dbb8.tar.gz bcm5719-llvm-17b8b0625252be3d14609b248c6701fe0d10dbb8.zip |
Make tsan tests more portable (take 2)
Using stderr more uniformily, avoiding potential races when scanning stdout
and stderr output.
Patch by Maxim Kuvyrkov.
llvm-svn: 266294
Diffstat (limited to 'compiler-rt/test/tsan/virtual_inheritance_compile_bug.cc')
-rw-r--r-- | compiler-rt/test/tsan/virtual_inheritance_compile_bug.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/virtual_inheritance_compile_bug.cc b/compiler-rt/test/tsan/virtual_inheritance_compile_bug.cc index 7da581d8060..3b1e08b1689 100644 --- a/compiler-rt/test/tsan/virtual_inheritance_compile_bug.cc +++ b/compiler-rt/test/tsan/virtual_inheritance_compile_bug.cc @@ -10,6 +10,6 @@ struct DDD: CCC, BBB { DDD(); }; // NOLINT DDD::DDD() { } int main() { DDD d; - printf("OK\n"); + fprintf(stderr, "OK\n"); } // CHECK: OK |