[gtk-doc] test: run python tests with the configurred python binary
- From: Stefan Sauer <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc] test: run python tests with the configurred python binary
- Date: Sat, 12 Aug 2017 14:26:11 +0000 (UTC)
commit 2811703c0315ae1761619410557d5f1e0759c2a3
Author: Stefan Sauer <ensonic users sf net>
Date: Sat Aug 12 16:09:16 2017 +0200
test: run python tests with the configurred python binary
tests/Makefile.am | 3 ++-
tests/check.py | 1 -
tests/common.py | 1 -
tests/mk_to_db.py | 1 -
4 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index b376e58..04c5772 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -16,7 +16,8 @@ TESTS_ENVIRONMENT = \
PATH=$(abs_top_builddir):$(srcdir):$(PATH) \
PYTHONPATH=$(abs_top_builddir):$(abs_top_srcdir):$(PYTHONPATH) \
GLIB_PREFIX="$(glib_prefix)"
-
+TEST_EXTENSIONS = .py
+PY_LOG_COMPILER = $(PYTHON)
endif
EXTRA_DIST = gtkdoctest.sh $(TESTS)
diff --git a/tests/check.py b/tests/check.py
index e6f12b5..2508cd0 100755
--- a/tests/check.py
+++ b/tests/check.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- python -*-
#
# gtk-doc - GTK DocBook documentation generator.
diff --git a/tests/common.py b/tests/common.py
index 0c32525..ae47b31 100755
--- a/tests/common.py
+++ b/tests/common.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- python -*-
#
# gtk-doc - GTK DocBook documentation generator.
diff --git a/tests/mk_to_db.py b/tests/mk_to_db.py
index 646ad39..0c6c8b2 100755
--- a/tests/mk_to_db.py
+++ b/tests/mk_to_db.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- python; coding: utf-8 -*-
#
# gtk-doc - GTK DocBook documentation generator.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]