1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
|
import testing ;
SOURCES =
test_vector_of_object.cpp
test_back_reference.cpp
test_def_from_base.cpp
test_object.cpp
test_abstract_base.cpp
test_attributes.cpp
test_const.cpp
test_construction.cpp
test_exceptions.cpp
test_free_functions.cpp
test_held_type.cpp
test_implicit_cast.cpp
test_iterator.cpp
test_lua_classes.cpp
test_null_pointer.cpp
test_operators.cpp
test_policies.cpp
test_scope.cpp
test_separation.cpp
test_simple_class.cpp
test_yield.cpp
test_private_destructors.cpp
test_exception_handlers.cpp
test_shadow.cpp
test_tag_function.cpp
test_adopt.cpp
test_properties.cpp
test_user_defined_converter.cpp
test_adopt_wrapper.cpp
test_builtin_converters.cpp
test_class_info.cpp
test_table.cpp
test_automatic_smart_ptr.cpp
test_shared_ptr.cpp
test_implicit_raw.cpp
test_collapse_converter.cpp
test_dynamic_type.cpp
test_virtual_inheritance.cpp
test_create_in_thread.cpp
test_extend_class_in_lua.cpp
test_smart_ptr_attributes.cpp
test_super_leak.cpp
test_set_instance_value.cpp
test_unsigned_int.cpp
;
obj main : main.cpp : <library>..//luabind : : <library>..//luabind ;
tests = ;
for local src in $(SOURCES)
{
tests += [ run $(src) main ] ;
}
test += [ compile test_typetraits.cpp ..//luabind ]
[ compile test_value_wrapper.cpp ..//luabind ]
[ compile test_has_get_pointer.cpp ..//luabind ] ;
test-suite test
: $(tests)
# requirements
:
# default-build
: <link>static <link>shared release debug ;
|