]> rtime.felk.cvut.cz Git - frescor/frsh.git/blob - frsh_api/tests/Makefile.omk
6eb7237e602c08134911a98a270a17c69dc523f0
[frescor/frsh.git] / frsh_api / tests / Makefile.omk
1 CFLAGS += -DWVTEST_CONFIGURED
2
3 wvtest_SCRIPTS += negotiation.sh
4 test_PROGRAMS += negotiation
5 negotiation_SOURCES = negotiation.c
6 negotiation_LIBS = wvtest
7
8 test_PROGRAMS += spare_capacity
9 spare_capacity_SOURCES = spare_capacity.c
10
11 ifeq ($(CONFIG_AQUOSA),y)
12 test_PROGRAMS += cpu_spare_capacity
13 cpu_spare_capacity_SOURCES = cpu_spare_capacity.c
14
15 test_PROGRAMS += cpu_renegotiation
16 cpu_renegotiation_SOURCES = cpu_renegotiation.c
17 endif
18
19 test_PROGRAMS += dummy_renegotiation
20 dummy_renegotiation_SOURCES = dummy_renegotiation.c
21
22 wvtest_SCRIPTS += dummy_spare_capacity.sh
23 test_PROGRAMS += dummy_spare_capacity
24 dummy_spare_capacity_SOURCES = dummy_spare_capacity.c
25 dummy_spare_capacity_LIBS = wvtest
26
27 wvtest_SCRIPTS += trans_nego.sh
28 test_PROGRAMS += trans_nego
29 trans_nego_SOURCES = trans_nego.c
30 trans_nego_LIBS = wvtest
31
32 test_PROGRAMS += negobench
33 negobench_SOURCES = negobench.c
34
35 test_PROGRAMS += renegobench
36 renegobench_SOURCES = renegobench.c
37
38 test_PROGRAMS += scbench
39 scbench_SOURCES = scbench.c
40
41 lib_LOADLIBES += pthread rt frsh 
42
43 ifeq ($(CONFIG_FWP),y)
44 SUBDIRS= fwptest pingpong
45 endif
46
47 ifeq ($(CONFIG_ORTE_TEST),y)
48 test_PROGRAMS += orte_test
49 orte_test_SOURCES+= orte_test.c
50 lib_LOADLIBES += pthread rt fwp fna frsh
51 endif