New test that verifies that ADL doesn't apply when it shouldn't.
[luabind.git] / test / Jamfile
blob11ebbc04e61197204a794b66bbeae95ab041a27f
1 import testing ;
3 use-project /luabind : ../ ;
5 SOURCES = 
6     test_vector_of_object.cpp
7     test_back_reference.cpp
8     test_def_from_base.cpp
9     test_object.cpp
10     test_abstract_base.cpp
11     test_attributes.cpp
12     test_const.cpp
13     test_construction.cpp
14     test_exceptions.cpp
15     test_free_functions.cpp
16     test_held_type.cpp
17     test_implicit_cast.cpp
18     test_iterator.cpp
19     test_lua_classes.cpp
20     test_null_pointer.cpp
21     test_operators.cpp
22     test_policies.cpp
23     test_scope.cpp
24     test_separation.cpp
25     test_simple_class.cpp
26     test_yield.cpp
27  ;
29 project : default-build <link>static ;
31 lib main-lib 
32     : main.cpp /luabind//luabind/<link>static /luabind//lua /luabind//lualib 
33     : <link>static
34     ;
36 tests = ;
38 for local src in $(SOURCES)
40     tests += [ run $(src) main-lib ] ;
43 test-suite luabind-test : $(tests) 
44     [ compile test_typetraits.cpp ] 
45     [ compile test_value_wrapper.cpp ]
46     [ compile test_has_get_pointer.cpp ]
47     ;