aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/tests/initial.py
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-07-06 08:59:18 +0000
committerJustus Winter <[email protected]>2016-07-07 12:10:36 +0000
commit52efcf1ee9fc8ba4c6bd23d8fe4f5f7993ba9fb1 (patch)
tree237399ae677b95835d53b188047d7dac57493e54 /lang/python/tests/initial.py
parentqt: Fix distcheck. (diff)
downloadgpgme-52efcf1ee9fc8ba4c6bd23d8fe4f5f7993ba9fb1.tar.gz
gpgme-52efcf1ee9fc8ba4c6bd23d8fe4f5f7993ba9fb1.zip
python: Fix distcheck.
* lang/python/INSTALL: Drop obsolete file. * lang/python/Makefile.am (EXTRA_DIST): Add missing files. (CLEANFILES): Remove generated files. (clean-local): Fix permissions of copied files. * lang/python/tests/Makefile.am (TESTS): Use our own setup and teardown scripts. (EXTRA_DIST): Add missing files. * lang/python/tests/final.py: New file. * lang/python/tests/initial.py: Likewise. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'lang/python/tests/initial.py')
-rwxr-xr-xlang/python/tests/initial.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/lang/python/tests/initial.py b/lang/python/tests/initial.py
new file mode 100755
index 00000000..9d72cbcd
--- /dev/null
+++ b/lang/python/tests/initial.py
@@ -0,0 +1,24 @@
+#!/usr/bin/env python3
+
+# Copyright (C) 2016 g10 Code GmbH
+#
+# This file is part of GPGME.
+#
+# GPGME is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# GPGME is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
+# Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program; if not, see <http://www.gnu.org/licenses/>.
+
+import os
+import subprocess
+
+subprocess.check_call([os.path.join(os.getenv('top_srcdir'),
+ "tests", "start-stop-agent"), "--start"])