summaryrefslogtreecommitdiff
path: root/netfs/unittests/Jamfile.jam
blob: 9aa8bda0c60ee41d8266de98e6acf38f312720b9 (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
48
49
50
51
52
import testing ;

lib boost_utf : : <name>boost_unit_test_framework ;
lib boost_system ;
lib boost_filesystem ;
lib IceUtil ;
lib Ice ;

path-constant me : . ;

lib testMocks :
	../../libmisc/misc.cpp
	[ glob mock*.cpp ]
	:
	<library>IceUtil
	<library>Ice
	<library>boost_system
	<library>boost_filesystem
	<library>../daemon//netfsd
	<library>../fuse//netfsClient
	<library>../ice//netfsComms
	<define>BOOST_TEST_DYN_LINK
	<library>boost_utf
	<define>ROOT=\"$(me)\"
	: :
	<library>boost_system
	<library>boost_filesystem
	<define>ROOT=\"$(me)\"
	;


run testCore.cpp
	: : defaultDaemon.xml defaultFuse.xml secureDaemon.xml secureFuse.xml :
	<define>BOOST_TEST_DYN_LINK
	<library>boost_utf
	<library>testMocks
	: testCore ;

run testGlacier.cpp
	: : defaultDaemon.xml defaultFuse.xml :
	<define>BOOST_TEST_DYN_LINK
	<library>boost_utf
	<library>testMocks
	: testGlacier ;

run testEdgeCases.cpp
	: : defaultDaemon.xml defaultFuse.xml :
	<define>BOOST_TEST_DYN_LINK
	<library>boost_utf
	<library>testMocks
	: testEdgeCases ;