]> rtime.felk.cvut.cz Git - frescor/frsh.git/blobdiff - frsh_api/tests/Makefile.omk
test: Convert spare capacity test to wvtest
[frescor/frsh.git] / frsh_api / tests / Makefile.omk
index 6a7b0a6ab357b473a288e8d76668e94c676eead9..de636a81a66fbd0e9f05d0e69b4ad4bb07dbbacb 100644 (file)
@@ -1,10 +1,46 @@
+CFLAGS += -DWVTEST_CONFIGURED
 
+wvtest_SCRIPTS += negotiation.sh
 test_PROGRAMS += negotiation
 negotiation_SOURCES = negotiation.c
+negotiation_LIBS = wvtest
+
+test_PROGRAMS += spare_capacity
+spare_capacity_SOURCES = spare_capacity.c
+
+ifeq ($(CONFIG_AQUOSA),y)
+test_PROGRAMS += cpu_spare_capacity
+cpu_spare_capacity_SOURCES = cpu_spare_capacity.c
+
+test_PROGRAMS += cpu_renegotiation
+cpu_renegotiation_SOURCES = cpu_renegotiation.c
+endif
+
+test_PROGRAMS += dummy_renegotiation
+dummy_renegotiation_SOURCES = dummy_renegotiation.c
+
+wvtest_SCRIPTS += dummy_spare_capacity.sh
+test_PROGRAMS += dummy_spare_capacity
+dummy_spare_capacity_SOURCES = dummy_spare_capacity.c
+dummy_spare_capacity_LIBS = wvtest
+
+test_PROGRAMS += negobench
+negobench_SOURCES = negobench.c
+
+test_PROGRAMS += renegobench
+renegobench_SOURCES = renegobench.c
+
+test_PROGRAMS += scbench
+scbench_SOURCES = scbench.c
+
 lib_LOADLIBES += pthread rt frsh 
 
 ifeq ($(CONFIG_FWP),y)
-test_PROGRAMS += distributed
-distributed_SOURCES+= distributed.c
+SUBDIRS= fwptest pingpong
+endif
+
+ifeq ($(CONFIG_ORTE_TEST),y)
+test_PROGRAMS += orte_test
+orte_test_SOURCES+= orte_test.c
 lib_LOADLIBES += pthread rt fwp fna frsh
 endif