Add python tap runner to the tree
[babeltrace.git] / configure.ac
index aee4f5b9c7ae2ee883416c8ed131d5128e676890..6b13bf46a3eb961b51e05862d2045c9b047605be 100644 (file)
@@ -262,7 +262,6 @@ AC_CHECK_FUNCS([ \
        dup2 \
        ftruncate \
        gethostbyname \
-       gethostname \
        gettimeofday \
        localtime_r \
        memchr \
@@ -283,7 +282,6 @@ AC_CHECK_FUNCS([ \
        strtoul \
        strtoull \
        tzset \
-       uname \
 ])
 
 # AC_FUNC_MALLOC causes problems when cross-compiling.
@@ -575,15 +573,6 @@ AS_IF([test "x$enable_python_bindings_doc" = xyes],
   ]
 )
 
-AS_IF([test "x$enable_python_bindings_tests" = xyes],
-  [
-    AM_CHECK_PYTHON_TAPPY([PYTHON])
-    AS_IF([test "x$PYTHON_TAPPY_EXISTS" = xno],
-      [AC_MSG_ERROR([You need the tappy Python project to test the Python bindings (see <https://github.com/python-tap/tappy>)])]
-    )
-  ]
-)
-
 AS_IF([test "x$enable_debug_info" = xyes],
   [
     # Check if libelf and libdw are present
@@ -632,6 +621,11 @@ LIBS="$LIBS $GLIB_LIBS"
 # glib.h is not platform specific but it includes glibconfig.h which is and
 # is usually installed in a non-standard path.
 
+# Older versions of the pkg-config macros disallows PKG_* in the autoconf
+# output. Specifically allow pkg_config_libdir to be able to print the
+# error message.
+m4_pattern_allow([PKG_CONFIG_LIBDIR])
+
 save_CFLAGS=${CFLAGS}
 CFLAGS="${CFLAGS} ${AM_CFLAGS}"
 AC_COMPILE_IFELSE([
@@ -659,7 +653,8 @@ AC_CONFIG_FILES([
        Makefile
        bindings/python/Makefile
        bindings/python/bt2/Makefile
-       bindings/python/bt2/__init__.py
+       bindings/python/bt2/setup.py
+       bindings/python/bt2/bt2/__init__.py
        common/Makefile
        compat/Makefile
        cli/Makefile
@@ -685,6 +680,7 @@ AC_CONFIG_FILES([
        tests/lib/Makefile
        tests/lib/writer/Makefile
        tests/lib/test-plugin-plugins/Makefile
+       tests/utils/common.sh
        tests/utils/Makefile
        tests/utils/tap/Makefile
        tests/bindings/Makefile
@@ -700,6 +696,7 @@ AC_CONFIG_FILES([
        plugins/ctf/common/btr/Makefile
        plugins/ctf/common/metadata/Makefile
        plugins/ctf/common/notif-iter/Makefile
+       plugins/ctf/common/utils/Makefile
        plugins/ctf/fs-src/Makefile
        plugins/ctf/fs-sink/Makefile
        plugins/ctf/lttng-live/Makefile
@@ -736,7 +733,7 @@ AC_CONFIG_FILES([tests/plugins/test_dwarf_complete], [chmod +x tests/plugins/tes
 AC_CONFIG_FILES([tests/plugins/test_bin_info_complete], [chmod +x tests/plugins/test_bin_info_complete])
 
 AS_IF([test "x$enable_python_bindings_tests" = xyes],
-  [AC_CONFIG_FILES([tests/bindings/python/bt2/testall.sh], [chmod +x tests/bindings/python/bt2/testall.sh])]
+  [AC_CONFIG_FILES([tests/bindings/python/bt2/test_python_bt2], [chmod +x tests/bindings/python/bt2/test_python_bt2])]
 )
 
 AS_IF([test "x$enable_python_plugins" = "xyes"],
This page took 0.024342 seconds and 4 git commands to generate.