new test system, no more boost.test
[luabind.git] / test / Jamfile
blobc33f294f86f5f3a12c701376faea86d1cf8cf8bc
1 import testing ;
3 use-project /luabind : ../ ;
5 SOURCES = 
6     test_abstract_base.cpp
7     test_attributes.cpp
8     test_const.cpp
9     test_construction.cpp
10     test_exceptions.cpp
11     test_free_functions.cpp
12     test_held_type.cpp
13     test_implicit_cast.cpp
14     test_iterator.cpp
15     test_lua_classes.cpp
16     test_null_pointer.cpp
17     test_object.cpp
18     test_operators.cpp
19     test_policies.cpp
20     test_scope.cpp
21     test_separation.cpp
22     test_simple_class.cpp
23     test_yield.cpp
24  ;
26 lib main-lib 
27     : main.cpp /luabind//luabind/<link>static /luabind//lua /luabind//lualib 
28     : <link>static
29     ;
31 tests = ;
33 for local src in $(SOURCES)
35     tests += [ run $(src) main-lib ] ;
38 test-suite luabind-test : $(tests) [ compile test_typetraits.cpp ] ;