Update the trunk to the OpenCV's CVS (2008-07-14)
[opencv] / tests / python / Makefile.am
1 # test/python/Makefile.am contains partially interactive tests of HighGUI and the python interface
2 # 2006-07-17, asbach@ient.rwth-aachen.de
3
4
5 EXTRA_DIST = testdata
6
7 MOSTLYCLEANFILES = *.works
8
9 check_SCRIPTS = \
10     test_adaptors.py                              \
11     highgui/cvInitSystem.py                       \
12     highgui/cvLoadImageBMP.py                     \
13     highgui/cvLoadImageJPG.py                     \
14     highgui/cvLoadImageTIFF.py                    \
15     highgui/cvLoadImagePPM.py                     \
16     highgui/cvLoadImagePNG.py                     \
17     highgui/cvLoadImageSR.py                      \
18     highgui/cvSaveImage.py                        \
19     highgui/cvNamedWindow.py                      \
20     highgui/cvShowImage.py                        \
21     highgui/cvWaitKey.py                          \
22     highgui/cvCreateTrackbar.py                   \
23     highgui/cvMoveResizeWindow.py                 \
24     highgui/cvGetWindowHandleName.py              \
25     highgui/cvGetSetTrackbarPos.py                \
26     highgui/cvSetMouseCallback.py                 \
27     highgui/cvCreateFileCaptureRGB.py             \
28     highgui/cvCreateFileCaptureRGBA.py            \
29     highgui/cvCreateFileCaptureUYVY.py            \
30     highgui/cvCreateFileCaptureY8.py              \
31     highgui/cvCreateFileCaptureYUY2.py            \
32     highgui/cvCreateFileCaptureYV12.py            \
33     highgui/cvCreateFileCaptureYV16.py            \
34     highgui/cvCreateFileCaptureYVU9.py            \
35     highgui/cvGrabFrame.py                        \
36     highgui/cvRetrieveFrame.py                    \
37     highgui/cvQueryFrame.py                       \
38     highgui/query_3gp.py                          \
39     highgui/query_bmp24.py                        \
40     highgui/query_bmp32.py                        \
41     highgui/query_cinepak.py                      \
42     highgui/query_divx.py                         \
43     highgui/query_dv_pal_progressive_avi.py       \
44     highgui/query_dv_pal_progressive_dv.py        \
45     highgui/query_huffyuv.py                      \
46     highgui/query_indeo.py                        \
47     highgui/query_mpeg4.py                        \
48     highgui/query_uncompressed.py                 \
49     highgui/query_wmv9.py                         \
50     highgui/seek_frame_3gp.py                     \
51     highgui/seek_frame_bmp24.py                   \
52     highgui/seek_frame_bmp32.py                   \
53     highgui/seek_frame_cinepak.py                 \
54     highgui/seek_frame_divx.py                    \
55     highgui/seek_frame_dv_pal_progressive_avi.py  \
56     highgui/seek_frame_dv_pal_progressive_dv.py   \
57     highgui/seek_frame_huffyuv.py                 \
58     highgui/seek_frame_indeo.py                   \
59     highgui/seek_frame_mpeg4.py                   \
60     highgui/seek_frame_uncompressed.py            \
61     highgui/seek_frame_wmv9.py                    \
62     highgui/seek_time_3gp.py                      \
63     highgui/seek_time_bmp24.py                    \
64     highgui/seek_time_bmp32.py                    \
65     highgui/seek_time_cinepak.py                  \
66     highgui/seek_time_divx.py                     \
67     highgui/seek_time_dv_pal_progressive_avi.py   \
68     highgui/seek_time_dv_pal_progressive_dv.py    \
69     highgui/seek_time_huffyuv.py                  \
70     highgui/seek_time_indeo.py                    \
71     highgui/seek_time_mpeg4.py                    \
72     highgui/seek_time_uncompressed.py             \
73     highgui/seek_time_wmv9.py                     \
74     highgui/size_3gp.py                           \
75     highgui/size_bmp24.py                         \
76     highgui/size_bmp32.py                         \
77     highgui/size_cinepak.py                       \
78     highgui/size_divx.py                          \
79     highgui/size_dv_pal_progressive_avi.py        \
80     highgui/size_dv_pal_progressive_dv.py         \
81     highgui/size_huffyuv.py                       \
82     highgui/size_indeo.py                         \
83     highgui/size_mpeg4.py                         \
84     highgui/size_uncompressed.py                  \
85     highgui/size_wmv9.py
86
87 noinst_PYTHON = \
88     $(check_SCRIPTS)                \
89     highgui/works.py                \
90     highgui/frames.py               \
91     highgui/match.py                \
92     highgui/query_test.py           \
93     highgui/seek_test.py            \
94     highgui/size_test.py            \
95     highgui/cvCreateFileCapture.py  \
96     highgui/cvLoadImage.py
97
98 TESTS_ENVIRONMENT = \
99     top_srcdir=$(top_srcdir) \
100     top_builddir=$(top_builddir) \
101     LD_LIBRARY_PATH=$(top_builddir)/cxcore/src/.libs:$(top_builddir)/cv/src/.libs:$(top_builddir)/otherlibs/highgui/.libs:$(LD_LIBRARY_PATH) \
102     DYLD_LIBRARY_PATH=$(top_builddir)/cxcore/src/.libs:$(top_builddir)/cv/src/.libs:$(top_builddir)/otherlibs/highgui/.libs:$(LD_LIBRARY_PATH) \
103     PYTHONPATH=$(top_srcdir)/interfaces/swig:$(top_builddir)/interfaces/swig/python/.libs
104
105 # do tests only if we ask for python
106
107 if BUILD_PYTHON_WRAPPERS
108
109 TESTS = $(check_SCRIPTS)
110
111 endif
112