summaryrefslogtreecommitdiff
path: root/test/Jamfile.jam
blob: 1f0dac3e8ccf1dec396a08a2041ca446597a4f71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
lib boost_unit_test_framework ;

project : requirements
	<library>../lib//mygrate
	<library>boost_unit_test_framework/<link>shared
	<define>BOOST_TEST_DYN_LINK
	<define>ROOT=\\\"$(root)\\\"
	;

lib testdb :
	[ glob-tree *.sql : bin ]
	[ glob *.cpp : test-*.cpp ] :
	<link>static
	;

run test-rawDataReader.cpp ;
run test-bitset.cpp ;
run test-streams.cpp ;
run test-misc.cpp ;
run test-mysql.cpp : : : <library>testdb ;
run test-postgresql.cpp : -- : ../db/schema.sql : <library>testdb ;
run test-e2e.cpp : -- : ../db/schema.sql : <library>testdb <implicit-dependency>testdb ;
run test-mapping.cpp : : : <library>testdb <implicit-dependency>testdb ;