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 71 72 73 74 75
|
if ENABLE_PYTHON
PYTHONMALLOC=malloc_debug
export PYTHONMALLOC
check_PROGRAMS += \
${modules_python_tests_TESTS}
modules_python_tests_TESTS = \
modules/python/tests/test_python_logmsg \
modules/python/tests/test_python_template \
modules/python/tests/test_python_tf \
modules/python/tests/test_python_persist_name \
modules/python/tests/test_python_persist \
modules/python/tests/test_python_bookmark \
modules/python/tests/test_python_ack_tracker \
modules/python/tests/test_python_options \
modules/python/tests/test_python_reloc
modules_python_tests_test_python_logmsg_CFLAGS = $(TEST_CFLAGS) $(PYTHON_CFLAGS) -I$(top_srcdir)/modules/python
modules_python_tests_test_python_logmsg_LDADD = $(TEST_LDADD) \
-dlpreopen $(top_builddir)/modules/python/libmod-python.la \
$(PYTHON_LIBS) $(PREOPEN_SYSLOGFORMAT)
modules_python_tests_test_python_template_CFLAGS = $(TEST_CFLAGS) $(PYTHON_CFLAGS) \
-I$(top_srcdir)/modules/python -I$(top_srcdir)/modules/syslogformat
modules_python_tests_test_python_template_LDADD = $(TEST_LDADD) \
-dlpreopen $(top_builddir)/modules/python/libmod-python.la \
$(PYTHON_LIBS) $(PREOPEN_SYSLOGFORMAT)
modules_python_tests_test_python_tf_CFLAGS = $(TEST_CFLAGS) $(PYTHON_CFLAGS) \
-I$(top_srcdir)/modules/python -I$(top_srcdir)/modules/syslogformat
modules_python_tests_test_python_tf_LDADD = $(TEST_LDADD) \
-dlpreopen $(top_builddir)/modules/python/libmod-python.la \
$(PYTHON_LIBS) $(PREOPEN_SYSLOGFORMAT)
modules_python_tests_test_python_persist_name_CFLAGS = $(TEST_CFLAGS) $(PYTHON_CFLAGS) \
-I$(top_srcdir)/modules/python -I$(top_srcdir)/modules/syslogformat
modules_python_tests_test_python_persist_name_LDADD = $(TEST_LDADD) \
-dlpreopen $(top_builddir)/modules/python/libmod-python.la \
$(PYTHON_LIBS) $(PREOPEN_SYSLOGFORMAT)
modules_python_tests_test_python_persist_CFLAGS = $(TEST_CFLAGS) $(PYTHON_CFLAGS) \
-I$(top_srcdir)/modules/python -I$(top_srcdir)/modules/syslogformat
modules_python_tests_test_python_persist_LDADD = $(TEST_LDADD) \
-dlpreopen $(top_builddir)/modules/python/libmod-python.la \
$(PYTHON_LIBS) $(PREOPEN_SYSLOGFORMAT)
modules_python_tests_test_python_bookmark_CFLAGS = $(TEST_CFLAGS) $(PYTHON_CFLAGS) \
-I$(top_srcdir)/modules/python -I$(top_srcdir)/modules/syslogformat
modules_python_tests_test_python_bookmark_LDADD = $(TEST_LDADD) \
-dlpreopen $(top_builddir)/modules/python/libmod-python.la \
$(PYTHON_LIBS)
modules_python_tests_test_python_ack_tracker_CFLAGS = $(TEST_CFLAGS) $(PYTHON_CFLAGS) \
-I$(top_srcdir)/modules/python -I$(top_srcdir)/modules/syslogformat
modules_python_tests_test_python_ack_tracker_LDADD = $(TEST_LDADD) \
-dlpreopen $(top_builddir)/modules/python/libmod-python.la \
$(PYTHON_LIBS) $(PREOPEN_SYSLOGFORMAT)
modules_python_tests_test_python_options_CFLAGS = $(TEST_CFLAGS) $(PYTHON_CFLAGS) \
-I$(top_srcdir)/modules/python
modules_python_tests_test_python_options_LDADD = $(TEST_LDADD) \
-dlpreopen $(top_builddir)/modules/python/libmod-python.la \
$(PYTHON_LIBS)
modules_python_tests_test_python_reloc_CFLAGS = $(TEST_CFLAGS) $(PYTHON_CFLAGS) \
-I$(top_srcdir)/modules/python
modules_python_tests_test_python_reloc_LDADD = $(TEST_LDADD) \
-dlpreopen $(top_builddir)/modules/python/libmod-python.la \
$(PYTHON_LIBS)
endif
EXTRA_DIST += modules/python/tests/CMakeLists.txt
|