From 52efcf1ee9fc8ba4c6bd23d8fe4f5f7993ba9fb1 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Wed, 6 Jul 2016 10:59:18 +0200 Subject: 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 --- lang/python/tests/final.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 lang/python/tests/final.py (limited to 'lang/python/tests/final.py') diff --git a/lang/python/tests/final.py b/lang/python/tests/final.py new file mode 100755 index 00000000..f75c2007 --- /dev/null +++ b/lang/python/tests/final.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 . + +import os +import subprocess + +subprocess.check_call([os.path.join(os.getenv('top_srcdir'), + "tests", "start-stop-agent"), "--stop"]) -- cgit v1.2.3