[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[libreoffice] 01/01: remove manual pyuno import test; use Test-Command: (as autodep8 would create)



This is an automated email from the git hooks/post-receive script.

rene pushed a commit to branch master
in repository libreoffice.

commit eef3bd97ea1eee019c11fea0c9474bebf0ccb4d3
Author: Rene Engelhard <rene@debian.org>
Date:   Tue Aug 2 19:03:15 2016 +0200

    remove manual pyuno import test; use Test-Command: (as autodep8 would create)
---
 changelog          | 5 ++++-
 tests/control      | 1 +
 tests/control.in   | 1 +
 tests/pyuno-import | 3 ---
 4 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/changelog b/changelog
index d57c1b7..00cecef 100644
--- a/changelog
+++ b/changelog
@@ -5,9 +5,12 @@ libreoffice (1:5.2.0-1) unstable; urgency=medium
   * debian/patches/curl-7.50.0.diff: add from master; fix build with
     curl 7.50.0
 
+  * debian/tests/control.in, debian/pyuno-import: remove manual pyuno
+    import test; use Test-Command: (as autodep8 would create)
+
   * upload to unstable 
 
- -- Rene Engelhard <rene@debian.org>  Sat, 30 Jul 2016 07:32:37 +0200
+ -- Rene Engelhard <rene@debian.org>  Tue, 02 Aug 2016 19:02:03 +0200
 
 libreoffice (1:5.2.0~rc4-1) experimental; urgency=medium
 
diff --git a/tests/control b/tests/control
index 622d02c..336fa5c 100644
--- a/tests/control
+++ b/tests/control
@@ -2,6 +2,7 @@ Tests: junit-subsequentcheck
 Depends: libreoffice, libreoffice-subsequentcheckbase, libreoffice-sdbc-hsqldb, autoconf, automake, bc, bison, bzip2, fastjar, flex (>= 2.3.35), gperf, libarchive-zip-perl, libcups2-dev, libfontconfig1-dev, libfreetype6-dev (>= 2.2.0), libice-dev, libsm-dev, libx11-dev, libxaw7-dev, libxext-dev, libxinerama-dev, libxkbfile-dev, libxrender-dev, libxt-dev, libxtst-dev, pkg-config, unzip, x11proto-render-dev, xsltproc, zip, zlib1g-dev , libgltf-dev (>= 0.0.2-4) , opencollada-dev (>= 0.1.0~2 [...]
 
 Tests: pyuno-import
+Test-Command: cd "$ADTTMP" ; python3 -c "import uno; print(uno)"
 Depends: python3-uno
 
 Tests: sdk-examples
diff --git a/tests/control.in b/tests/control.in
index 2233c44..eba7f4e 100644
--- a/tests/control.in
+++ b/tests/control.in
@@ -2,6 +2,7 @@ Tests: junit-subsequentcheck
 Depends: libreoffice, libreoffice-subsequentcheckbase, libreoffice-sdbc-hsqldb, %BUILD_DEPS_ARCH_ALL%, build-essential, default-jdk
 
 Tests: pyuno-import
+Test-Command: cd "$ADTTMP" ; python3 -c "import uno; print(uno)"
 Depends: python3-uno
 
 Tests: sdk-examples
diff --git a/tests/pyuno-import b/tests/pyuno-import
deleted file mode 100755
index 1b7778c..0000000
--- a/tests/pyuno-import
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/python3
-
-import uno

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/libreoffice.git


Reply to: