Update of /cvsroot/luabind/luabind/luabind/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18255
Modified Files:
Tag: beta7-devel2
Jamfile test_value_wrapper.cpp
Log Message:
Made test_value_wrapper a compile only test. Changed test so that compilers
that has LUABIND_USE_VALUE_WRAPPER_TAG defined are properly tested.
Index: test_value_wrapper.cpp
===================================================================
RCS file: /cvsroot/luabind/luabind/luabind/test/Attic/test_value_wrapper.cpp,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- test_value_wrapper.cpp 10 Oct 2005 00:39:51 -0000 1.1.2.2
+++ test_value_wrapper.cpp 19 Oct 2005 12:01:43 -0000 1.1.2.3
@@ -32,20 +32,20 @@
namespace luabind
{
-
+#ifdef LUABIND_USE_VALUE_WRAPPER_TAG
template<>
struct value_wrapper_traits<X_tag>
{
typedef boost::mpl::true_ is_specialized;
};
-
+#else
// used on compilers supporting partial template specialization
template<>
struct value_wrapper_traits<X>
{
typedef boost::mpl::true_ is_specialized;
};
-
+#endif
} // namespace luabind
Index: Jamfile
===================================================================
RCS file: /cvsroot/luabind/luabind/luabind/test/Jamfile,v
retrieving revision 1.15.2.5
retrieving revision 1.15.2.6
diff -u -d -r1.15.2.5 -r1.15.2.6
--- Jamfile 19 Oct 2005 11:36:15 -0000 1.15.2.5
+++ Jamfile 19 Oct 2005 12:01:43 -0000 1.15.2.6
@@ -22,7 +22,6 @@
test_separation.cpp
test_simple_class.cpp
test_yield.cpp
- test_value_wrapper.cpp
;
project : default-build <link>static ;
@@ -41,5 +40,6 @@
test-suite luabind-test : $(tests)
[ compile test_typetraits.cpp ]
+ [ compile test_value_wrapper.cpp ]
;
|