projects
/
platform
/
upstream
/
libatomic_ops.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0627b26
)
Prevent too long run of test_atomic_generalized (especially with TSan)
author
Ivan Maidanski
<ivmai@mail.ru>
Wed, 20 Dec 2017 21:37:54 +0000
(
00:37
+0300)
committer
Ivan Maidanski
<ivmai@mail.ru>
Fri, 22 Dec 2017 07:46:56 +0000
(10:46 +0300)
* tests/test_atomic.c [AO_PREFER_GENERALIZED] (NITERS): Set to a smaller
value (the same one as for AO_USE_PTHREAD_DEFS).
tests/test_atomic.c
patch
|
blob
|
history
diff --git
a/tests/test_atomic.c
b/tests/test_atomic.c
index
e4a19a5
..
eed7dea
100644
(file)
--- a/
tests/test_atomic.c
+++ b/
tests/test_atomic.c
@@
-30,7
+30,7
@@
#include "test_atomic_include.h"
-#if
def AO_USE_PTHREAD_DEFS
+#if
defined(AO_USE_PTHREAD_DEFS) || defined(AO_PREFER_GENERALIZED)
# define NITERS 100000
#else
# define NITERS 10000000