summaryrefslogtreecommitdiff
path: root/test/Jamfile.jam
blob: c109051a454fedc8c519093f4b383ca272292d0b (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
import testing ;
import sequence ;
import path : glob-tree ;

lib boost_unit_test_framework ;
lib benchmark ;

path-constant res : ../res ;
path-constant fixtures : fixtures ;

project : requirements
	<define>BOOST_TEST_DYN_LINK
	<define>RESDIR=\\\"$(res)/\\\"
	<define>FIXTURESDIR=\\\"$(fixtures)/\\\"
	<variant>debug:<warnings>pedantic
	<variant>debug:<warnings-as-errors>on
	<variant>debug:<cflags>-Wnon-virtual-dtor
	<variant>debug:<cflags>-Wcast-align
	<variant>debug:<cflags>-Wunused
	<variant>debug:<cflags>-Woverloaded-virtual
	<variant>debug:<cflags>-Wpedantic
	<variant>debug:<cflags>-Wconversion
	<variant>debug:<cflags>-Wsign-conversion
	<variant>debug:<cflags>-Wnull-dereference
	<variant>debug:<cflags>-Wdouble-promotion
	<variant>debug:<cflags>-Wformat=2
	<toolset>gcc,<variant>debug:<cflags>-Wold-style-cast
	<toolset>gcc,<variant>debug:<cflags>-Wduplicated-cond
	<toolset>gcc,<variant>debug:<cflags>-Wduplicated-branches
	<toolset>gcc,<variant>debug:<cflags>-Wlogical-op
	<toolset>gcc,<variant>debug:<cflags>-Wuseless-cast
	<library>boost_unit_test_framework
	<library>..//ilt
	<toolset>tidy:<suppress>accessMoved
	<toolset>tidy:<suppress>assertWithSideEffect
	<toolset>tidy:<xcheckxx>bugprone-macro-parentheses
	<toolset>tidy:<xcheckxx>bugprone-use-after-move
	<toolset>tidy:<xcheckxx>clang-analyzer-cplusplus.Move
	<toolset>tidy:<xcheckxx>clang-analyzer-security.FloatLoopCounter
	<toolset>tidy:<xcheckxx>hicpp-invalid-access-moved
	<toolset>tidy:<xcheckxx>hicpp-vararg
	<toolset>tidy:<librarydef>boost
	;
lib test : [ glob *.cpp : test-*.cpp perf-*.cpp ] ;

run test-collection.cpp ;
run test-maths.cpp ;
run test-lib.cpp ;
run test-geoData.cpp : -- : fixtures/height/SD19.asc : <library>test ;
run test-network.cpp : : : <library>test ;
run test-persistence.cpp : -- : [ sequence.insertion-sort [ glob-tree $(fixtures)/json : *.json ] ] : <library>test ;
run test-text.cpp : : : <library>test ;
run test-enumDetails.cpp ;
run test-render.cpp : -- : test-assetFactory : <library>test ;
run test-glContextBhvr.cpp ;
run test-assetFactory.cpp : -- : [ sequence.insertion-sort [ glob-tree $(res) : *.* ] fixtures/rgb.txt test-instancing ] : <library>test ;
run perf-assetFactory.cpp : -- : test-assetFactory : <library>benchmark <library>test ;
run perf-geoData.cpp : : : <library>test <library>benchmark ;
run perf-persistence.cpp : -- : test-persistence : <library>benchmark <library>test ;
run test-worker.cpp ;
run test-instancing.cpp : -- : test-glContainer : <library>test ;
run test-glContainer.cpp : : : <library>test ;
run test-pack.cpp : : : <library>test ;
compile test-static-enumDetails.cpp ;
compile test-static-stream_support.cpp ;
explicit perf-assetFactory ;
explicit perf-persistence ;
explicit perf-terrain ;
alias perf : perf-assetFactory perf-persistence perf-terrain ;
explicit perf ;