[PATCH] D22309: [asan] Reduce flakiness of halt_on_error-torture.cc testcase.
Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 15 01:05:10 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL275539: [asan] Reduce flakiness of halt_on_error-torture.cc testcase. (authored by chefmax).
Changed prior to commit:
https://reviews.llvm.org/D22309?vs=63833&id=64101#toc
Repository:
rL LLVM
https://reviews.llvm.org/D22309
Files:
compiler-rt/trunk/test/asan/TestCases/Posix/halt_on_error-torture.cc
Index: compiler-rt/trunk/test/asan/TestCases/Posix/halt_on_error-torture.cc
===================================================================
--- compiler-rt/trunk/test/asan/TestCases/Posix/halt_on_error-torture.cc
+++ compiler-rt/trunk/test/asan/TestCases/Posix/halt_on_error-torture.cc
@@ -9,15 +9,11 @@
//
// Collisions are unlikely but still possible so we need the ||.
// RUN: %env_asan_opts=halt_on_error=false:suppress_equal_pcs=false %run %t 10 20 >10.txt 2>&1 || true
-// This one is racy although _very_ unlikely to fail:
-// RUN: FileCheck %s < 10.txt
-// RUN: FileCheck --check-prefix=CHECK-COLLISION %s < 1.txt || FileCheck --check-prefix=CHECK-NO-COLLISION %s < 1.txt
+// RUN: FileCheck --check-prefix=CHECK-COLLISION %s < 10.txt || FileCheck --check-prefix=CHECK-NO-COLLISION %s < 10.txt
//
// Collisions are unlikely but still possible so we need the ||.
// RUN: %env_asan_opts=halt_on_error=false %run %t 10 20 >10.txt 2>&1 || true
-// This one is racy although _very_ unlikely to fail:
-// RUN: FileCheck %s < 10.txt
-// RUN: FileCheck --check-prefix=CHECK-COLLISION %s < 1.txt || FileCheck --check-prefix=CHECK-NO-COLLISION %s < 1.txt
+// RUN: FileCheck --check-prefix=CHECK-COLLISION %s < 10.txt || FileCheck --check-prefix=CHECK-NO-COLLISION %s < 10.txt
#include <stdio.h>
#include <stdlib.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22309.64101.patch
Type: text/x-patch
Size: 1326 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160715/92818793/attachment.bin>
More information about the llvm-commits
mailing list