[complement-svn] SF.net SVN: complement: [1933] trunk/complement/explore
Status: Pre-Alpha
Brought to you by:
complement
From: <com...@us...> - 2008-06-30 12:51:08
|
Revision: 1933 http://complement.svn.sourceforge.net/complement/?rev=1933&view=rev Author: complement Date: 2008-06-30 05:51:01 -0700 (Mon, 30 Jun 2008) Log Message: ----------- Merge branch 'master' of /export/hostel/pub/scm/complement Modified Paths: -------------- trunk/complement/explore/include/mt/shm.h trunk/complement/explore/lib/misc/ut/misc_test.cc trunk/complement/explore/lib/misc/ut/misc_test.h trunk/complement/explore/lib/misc/ut/misc_test_suite.cc trunk/complement/explore/lib/misc/ut/opts_test.cc trunk/complement/explore/lib/mt/ChangeLog trunk/complement/explore/lib/mt/Makefile.inc Modified: trunk/complement/explore/include/mt/shm.h =================================================================== --- trunk/complement/explore/include/mt/shm.h 2008-06-30 12:50:41 UTC (rev 1932) +++ trunk/complement/explore/include/mt/shm.h 2008-06-30 12:51:01 UTC (rev 1933) @@ -1,4 +1,4 @@ -// -*- C++ -*- Time-stamp: <08/03/26 10:37:01 ptr> +// -*- C++ -*- Time-stamp: <08/06/30 13:48:26 yeti> /* * Copyright (c) 2006-2008 @@ -106,6 +106,7 @@ __SPEC_FULL(is_ipc_sharable,std::tr2::condition_variable_ip,true); __SPEC_FULL(is_ipc_sharable,std::tr2::condition_variable_any_ip,true); +__SPEC_FULL(is_ipc_sharable,std::tr2::condition_event_ip,true); __SPEC_FULL(is_ipc_sharable,std::tr2::semaphore_ip,true); __SPEC_FULL(is_ipc_sharable,std::tr2::barrier_ip,true); __SPEC_FULL(is_ipc_sharable,std::tr2::mutex_ip,true); Modified: trunk/complement/explore/lib/misc/ut/misc_test.cc =================================================================== --- trunk/complement/explore/lib/misc/ut/misc_test.cc 2008-06-30 12:50:41 UTC (rev 1932) +++ trunk/complement/explore/lib/misc/ut/misc_test.cc 2008-06-30 12:51:01 UTC (rev 1933) @@ -1,4 +1,4 @@ -// -*- C++ -*- Time-stamp: <07/12/02 20:37:29 ptr> +// -*- C++ -*- Time-stamp: <08/06/30 12:39:37 yeti> /* * Copyright (c) 2007 @@ -512,8 +512,6 @@ { EXAM_CHECK( std::tr1::is_pod<const int>::value == true ); EXAM_CHECK( std::tr1::is_pod<int *>::value == true ); - EXAM_CHECK( std::tr1::is_pod<NT>::value == true ); - EXAM_CHECK( std::tr1::is_pod<POD>::value == true ); EXAM_CHECK( std::tr1::is_pod<SL>::value == false ); EXAM_CHECK( std::tr1::is_pod<N>::value == false ); @@ -522,6 +520,18 @@ return EXAM_RESULT; } +int EXAM_IMPL(misc_test::type_traits_is_pod_compiler_supp) +{ +#if defined(__GNUC__) && ((__GNUC__ < 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ < 3)) ) + throw exam::skip_exception(); +#endif + + EXAM_CHECK( std::tr1::is_pod<NT>::value == true ); + EXAM_CHECK( std::tr1::is_pod<POD>::value == true ); + + return EXAM_RESULT; +} + class empty { }; Modified: trunk/complement/explore/lib/misc/ut/misc_test.h =================================================================== --- trunk/complement/explore/lib/misc/ut/misc_test.h 2008-06-30 12:50:41 UTC (rev 1932) +++ trunk/complement/explore/lib/misc/ut/misc_test.h 2008-06-30 12:51:01 UTC (rev 1933) @@ -1,4 +1,4 @@ -// -*- C++ -*- Time-stamp: <07/12/02 18:50:20 ptr> +// -*- C++ -*- Time-stamp: <08/06/30 12:40:05 yeti> /* * Copyright (c) 2007 @@ -50,6 +50,7 @@ int EXAM_DECL(type_traits_is_trivial); int EXAM_DECL(type_traits_is_standard_layout); int EXAM_DECL(type_traits_is_pod); + int EXAM_DECL(type_traits_is_pod_compiler_supp); int EXAM_DECL(type_traits_is_empty); }; Modified: trunk/complement/explore/lib/misc/ut/misc_test_suite.cc =================================================================== --- trunk/complement/explore/lib/misc/ut/misc_test_suite.cc 2008-06-30 12:50:41 UTC (rev 1932) +++ trunk/complement/explore/lib/misc/ut/misc_test_suite.cc 2008-06-30 12:51:01 UTC (rev 1933) @@ -1,4 +1,4 @@ -// -*- C++ -*- Time-stamp: <08/06/30 01:37:00 ptr> +// -*- C++ -*- Time-stamp: <08/06/30 12:42:03 yeti> /* * Copyright (c) 2007, 2008 @@ -52,7 +52,8 @@ t.add( &misc_test::type_traits_is_volatile, test, "is_volatile", tc[0] ); // t.add( &misc_test::type_traits_is_trivial, test, "is_trivial", tc[0] ); // t.add( &misc_test::type_traits_is_standard_layout, test, "is_standard_layout", tc[0] ); - t.add( &misc_test::type_traits_is_pod, test, "is_pod", tc[0] ); + tc[4] = t.add( &misc_test::type_traits_is_pod, test, "is_pod", tc[0] ); + t.add( &misc_test::type_traits_is_pod_compiler_supp, test, "is_pod_compiler_supp", tc[4] ); t.add( &misc_test::type_traits_is_empty, test, "is_empty", tc[0] ); return t.girdle(); Modified: trunk/complement/explore/lib/misc/ut/opts_test.cc =================================================================== --- trunk/complement/explore/lib/misc/ut/opts_test.cc 2008-06-30 12:50:41 UTC (rev 1932) +++ trunk/complement/explore/lib/misc/ut/opts_test.cc 2008-06-30 12:51:01 UTC (rev 1933) @@ -324,6 +324,8 @@ opts << option<string>( "run tests by number", 'r', "run" )["0"]; + opts.parse( argc, argv ); + EXAM_CHECK( opts.is_set( 'r' ) ); EXAM_CHECK( opts.get<string>( 'r' ) == "10" ); } @@ -336,6 +338,8 @@ opts << option<string>( "run tests by number", 'r', "run" )["20"]; + opts.parse( argc, argv ); + EXAM_CHECK( opts.is_set( 'r' ) == false ); // not set EXAM_CHECK( opts.get<string>( 'r' ) == "20" ); // but has default value } @@ -348,6 +352,8 @@ opts << option<string>( "run tests by number", 'r', "run" ); + opts.parse( argc, argv ); + EXAM_CHECK( opts.is_set( 'r' ) ); EXAM_CHECK( opts.get<string>( 'r' ) == "10" ); } Modified: trunk/complement/explore/lib/mt/ChangeLog =================================================================== --- trunk/complement/explore/lib/mt/ChangeLog 2008-06-30 12:50:41 UTC (rev 1932) +++ trunk/complement/explore/lib/mt/ChangeLog 2008-06-30 12:51:01 UTC (rev 1933) @@ -1,3 +1,9 @@ +2008-06-30 Petr Ovtchenkov <ye...@ya...> + + * shm.h: condition_event_ip may be used in shared memory; + + * libxmt: bump revision to 2.0.4. + 2008-06-06 Petr Ovtchenkov <pt...@is...> * uid.h, uid.cc: functions for generating UIDs; Modified: trunk/complement/explore/lib/mt/Makefile.inc =================================================================== --- trunk/complement/explore/lib/mt/Makefile.inc 2008-06-30 12:50:41 UTC (rev 1932) +++ trunk/complement/explore/lib/mt/Makefile.inc 2008-06-30 12:51:01 UTC (rev 1933) @@ -1,9 +1,9 @@ -# -*- Makefile -*- Time-stamp: <08/06/06 21:25:42 yeti> +# -*- Makefile -*- Time-stamp: <08/06/30 13:51:45 yeti> LIBNAME = xmt MAJOR = 2 MINOR = 0 -PATCH = 3 +PATCH = 4 SRC_CC = xmt.cc thr_mgr.cc time.cc uid.cc shm.cc callstack.cc system_error.cc thread.cc \ date_time.cc SRC_C = fl.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |