Only runs standard stack test cases
[libcds.git] / test / stress / stack / push.cpp
index 0a7c30e4ac79bd8a36eebefd3ddfc91aa2cd5ddd..491ef1aff5c831127a7a7148e1e031361730851b 100644 (file)
@@ -1,7 +1,7 @@
 /*
     This file is a part of libcds - Concurrent Data Structures library
 
-    (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2016
+    (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2017
 
     Source code repo: http://github.com/khizmax/libcds/
     Download: http://sourceforge.net/projects/libcds/files/
@@ -193,16 +193,16 @@ namespace {
             size_t nError = 0;
             for ( size_t i = 0; i < nTotalItems; ++i ) {
                 EXPECT_EQ( arr[i], 1 ) << "i=" << i;
-                if ( ++nError > 10 )
+                if ( ++nError > 10 ) {
                     ASSERT_EQ( arr[i], 1 );
+                }
             }
         }
     };
 
     CDSSTRESS_TreiberStack( stack_push )
     CDSSTRESS_EliminationStack( stack_push )
-    CDSSTRESS_FCStack( stack_push )
-    CDSSTRESS_FCDeque( stack_push )
-    CDSSTRESS_StdStack( stack_push )
+    //CDSSTRESS_FCStack( stack_push )
+    //CDSSTRESS_FCDeque( stack_push )
 
 } // namespace