[Python-apps-commits] r13378 - in packages/retext/trunk/debian (changelog control rules)
mitya57 at users.alioth.debian.org
mitya57 at users.alioth.debian.org
Sun Jul 3 05:03:50 UTC 2016
Date: Sunday, July 3, 2016 @ 05:03:45
Author: mitya57
Revision: 13378
* Run the tests in Xvfb, build-depend on xauth and xvfb.
* Create the test files before running the tests. (This is only needed
before the next release where these files will be in the tarball.)
Modified:
packages/retext/trunk/debian/changelog
packages/retext/trunk/debian/control
packages/retext/trunk/debian/rules
Modified: packages/retext/trunk/debian/changelog
===================================================================
--- packages/retext/trunk/debian/changelog 2016-07-01 11:50:18 UTC (rev 13377)
+++ packages/retext/trunk/debian/changelog 2016-07-03 05:03:45 UTC (rev 13378)
@@ -9,6 +9,9 @@
* Update the retext.1 manual page.
* Bump Standards-Version to 3.9.8, no changes needed.
* Update debian/copyright.
+ * Run the tests in Xvfb, build-depend on xauth and xvfb.
+ * Create the test files before running the tests. (This is only needed
+ before the next release where these files will be in the tarball.)
-- Dmitry Shachnev <mitya57 at debian.org> Fri, 08 Apr 2016 23:27:20 +0200
Modified: packages/retext/trunk/debian/control
===================================================================
--- packages/retext/trunk/debian/control 2016-07-01 11:50:18 UTC (rev 13377)
+++ packages/retext/trunk/debian/control 2016-07-03 05:03:45 UTC (rev 13378)
@@ -9,7 +9,9 @@
python3-all,
python3-markups (>= 2.0),
python3-pyqt5,
- qttools5-dev-tools
+ qttools5-dev-tools,
+ xauth,
+ xvfb
Standards-Version: 3.9.8
Homepage: https://github.com/retext-project/retext
Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/retext/trunk/
Modified: packages/retext/trunk/debian/rules
===================================================================
--- packages/retext/trunk/debian/rules 2016-07-01 11:50:18 UTC (rev 13377)
+++ packages/retext/trunk/debian/rules 2016-07-03 05:03:45 UTC (rev 13378)
@@ -16,6 +16,16 @@
$(ICONSDIR)/$$size\x$$size/apps/retext.png; \
done
+override_dh_auto_test:
+ mkdir tests/testdata
+ echo "existing_file_content" > tests/testdata/existing_file.md
+ echo "existing_file_content" > tests/testdata/existing_file.rst
+ dh_auto_test -- --system custom --test-args "xvfb-run -a -s '-screen 0 1024x768x24' {interpreter} setup.py test"
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf tests/testdata
+
override_dh_python3:
dh_python3 --shebang=/usr/bin/python3
More information about the Python-apps-commits
mailing list