[llvm-commits] [compiler-rt] r169121 - /compiler-rt/trunk/lib/asan/tests/asan_test_utils.h
Kostya Serebryany
kcc at google.com
Mon Dec 3 03:37:03 PST 2012
Author: kcc
Date: Mon Dec 3 05:37:03 2012
New Revision: 169121
URL: http://llvm.org/viewvc/llvm-project?rev=169121&view=rev
Log:
[asan] EXPECT_EQ => ASSERT_EQ around pthread_create/pthread_join calls
Modified:
compiler-rt/trunk/lib/asan/tests/asan_test_utils.h
Modified: compiler-rt/trunk/lib/asan/tests/asan_test_utils.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/asan_test_utils.h?rev=169121&r1=169120&r2=169121&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/asan_test_utils.h (original)
+++ compiler-rt/trunk/lib/asan/tests/asan_test_utils.h Mon Dec 3 05:37:03 2012
@@ -69,7 +69,7 @@
}
// Check that pthread_create/pthread_join return success.
-#define PTHREAD_CREATE(a, b, c, d) EXPECT_EQ(0, pthread_create(a, b, c, d))
-#define PTHREAD_JOIN(a, b) EXPECT_EQ(0, pthread_join(a, b))
+#define PTHREAD_CREATE(a, b, c, d) ASSERT_EQ(0, pthread_create(a, b, c, d))
+#define PTHREAD_JOIN(a, b) ASSERT_EQ(0, pthread_join(a, b))
#endif // ASAN_TEST_UTILS_H
More information about the llvm-commits
mailing list