summaryrefslogtreecommitdiff
path: root/icetray/unittests/Jamfile.jam
blob: 4cd0977d1f106b9d5ed90c781f4fad5c49bf37e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import testing ;
import ../tool/icetray ;

lib boost_utf : : <name>boost_unit_test_framework ;
lib boost_filesystem ;
lib dbpp-postgresql : : : : <include>/usr/include/dbpp-postgresql ;

path-constant me : . ;

alias testCommon : : : :
	<define>ROOT=\"$(me)\"
	<library>..//adhocutil
	<library>..//dryice
	<library>..//icetray
	<library>..//IceBox
	<library>..//IceUtil
	<library>..//Ice
	<library>..//pthread
	<library>boost_utf
	<library>..//boost_system
	<define>BOOST_TEST_DYN_LINK
	;

run
	testIceTray.cpp
	testIceTrayService.ice
	testIceTrayServiceI.cpp
	testIceTrayServiceTestSql.sql
	subdir/some.sql
	subdir/a/more.sql
	:
	testIceTrayService.sql
	: :
	<icetray.sql.namespace>TestIceTray::sql
	<library>testCommon
	<library>boost_filesystem
	<library>dbpp-postgresql
	:
	testIceTray ;

run
	testDefaultPool.cpp
	: : :
	<library>testCommon
	:
	testDefaultPool ;