[SCM] syntax-highlighting packaging branch, master, updated. debian/5.37.0-3-51-gabd7d44

Maximiliano Curia maxy at moszumanska.debian.org
Tue Jan 2 18:52:30 UTC 2018


Gitweb-URL: http://git.debian.org/?p=pkg-kde/frameworks/syntax-highlighting.git;a=commitdiff;h=1fd88c8

The following commit has been merged in the master branch:
commit 1fd88c8d93c2e3877c6818f66fa15c28303a7473
Author: Harald Sitter <sitter at kde.org>
Date:   Mon Nov 7 16:18:34 2016 +0100

    rebuild everything for autotests
    
    the tests include the build path and write crap into the build path.
    god knows why. the original build path may not be writable though, so
    we need to rebuild the entire thing to pick up the autopkgtest path
---
 debian/tests/testsuite | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/tests/testsuite b/debian/tests/testsuite
index 3bb596b..81ea916 100644
--- a/debian/tests/testsuite
+++ b/debian/tests/testsuite
@@ -1,6 +1,12 @@
 #!/bin/sh
 
-export QT_LOGGING_RULES="*=true"
+# some tests have build path compiled-in, we need to rebuild
+# everything to make sure the path is the temporary one used for
+# the autopkgtest. NB: cmake hates relocation, so we'd have to
+# mangle CMakeCache.txt to get away with a as-needed-rebuild :/
+debian/rules clean 2>&1
+dpkg-source --before-build .
+debian/rules build 2>&1
 
 [ -e debian/tests.home ] || mkdir debian/tests.home
 trap "rm -rf debian/tests.home" EXIT

-- 
syntax-highlighting packaging



More information about the pkg-kde-commits mailing list