test.mk 1.66 KB
Newer Older
Johann's avatar
Johann committed
1
LIBVPX_TEST_SRCS-yes += acm_random.h
2
3
LIBVPX_TEST_SRCS-yes += test.mk
LIBVPX_TEST_SRCS-yes += test_libvpx.cc
4
LIBVPX_TEST_SRCS-yes += util.h
Jim Bankoski's avatar
Jim Bankoski committed
5

6
7
8
9
10
##
## BLACK BOX TESTS
##
## Black box tests only use the public API.
##
11
LIBVPX_TEST_SRCS-$(CONFIG_VP8_ENCODER) += altref_test.cc
12
13
14
15
16
17
18
LIBVPX_TEST_SRCS-$(CONFIG_VP8_ENCODER) += config_test.cc
LIBVPX_TEST_SRCS-$(CONFIG_VP8_ENCODER) += encode_test_driver.cc
LIBVPX_TEST_SRCS-$(CONFIG_VP8_ENCODER) += encode_test_driver.h
LIBVPX_TEST_SRCS-$(CONFIG_VP8_ENCODER) += i420_video_source.h
LIBVPX_TEST_SRCS-$(CONFIG_VP8_ENCODER) += keyframe_test.cc
LIBVPX_TEST_SRCS-$(CONFIG_VP8_ENCODER) += resize_test.cc
LIBVPX_TEST_SRCS-$(CONFIG_VP8_ENCODER) += video_source.h
19
20
LIBVPX_TEST_SRCS-$(CONFIG_VP8_DECODER) += decode_test_driver.cc
LIBVPX_TEST_SRCS-$(CONFIG_VP8_DECODER) += decode_test_driver.h
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

##
## WHITE BOX TESTS
##
## Whitebox tests invoke functions not exposed via the public API. Certain
## shared library builds don't make these functions accessible.
##
ifeq ($(CONFIG_SHARED),)

# These tests require both the encoder and decoder to be built.
ifeq ($(CONFIG_VP8_ENCODER)$(CONFIG_VP8_DECODER),yesyes)
LIBVPX_TEST_SRCS-yes                   += boolcoder_test.cc
endif

LIBVPX_TEST_SRCS-$(CONFIG_VP8_ENCODER) += fdct4x4_test.cc
LIBVPX_TEST_SRCS-yes                   += idctllm_test.cc
LIBVPX_TEST_SRCS-yes                   += intrapred_test.cc
LIBVPX_TEST_SRCS-$(CONFIG_POSTPROC)    += pp_filter_test.cc
Johann's avatar
Johann committed
39
LIBVPX_TEST_SRCS-yes                   += sad_test.cc
40
LIBVPX_TEST_SRCS-$(CONFIG_VP8_ENCODER) += set_roi.cc
41
LIBVPX_TEST_SRCS-yes                   += sixtap_predict_test.cc
42
43
44
45
46
47
48
49

endif


##
## TEST DATA
##
LIBVPX_TEST_DATA-$(CONFIG_VP8_ENCODER) += hantro_collage_w352h288.yuv