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