Move lua_error out of catch handler to defer longjmp.
[luabind.git] / test / Jamfile
blob804da562725e9cdb996d850362f7e1f3316db53e
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     test_set_instance_value.cpp
47     test_unsigned_int.cpp
48  ;
50 obj main : main.cpp : <library>..//luabind : : <library>..//luabind ;
52 tests = ;
54 for local src in $(SOURCES)
56     tests += [ run $(src) main ] ;
59 test += [ compile test_typetraits.cpp ..//luabind ]
60         [ compile test_value_wrapper.cpp ..//luabind ]
61         [ compile test_has_get_pointer.cpp ..//luabind ] ;
63 test-suite test
64   : $(tests)
65   # requirements
66   :
67   # default-build
68   : <link>static <link>shared release debug ;