diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2019-01-05 16:01:31 +0100 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2019-01-05 16:01:31 +0100 |
commit | 6cbe67e64b6fcd46cf5531bd283f9d5cd70d99a0 (patch) | |
tree | 631a18af262ed29910053787e711b0e261175ef8 | |
parent | 087d6045cc13cb5104333f12c6432e0195821898 (diff) | |
download | zsh-6cbe67e64b6fcd46cf5531bd283f9d5cd70d99a0.tar.gz zsh-6cbe67e64b6fcd46cf5531bd283f9d5cd70d99a0.zip |
Make autopkgtest pass by including config.modules in zsh-dev
* Test/V07pcre.ztst now tries to access ../config.modules to check if
the PCRE module was enabled and needs to be tested.
* The test emits a warning on STDERR if ../config.modules is not found.
* Let debian/tests/run-testsuite depend on zsh-dev and symlink
/usr/include/zsh/config.modules into $AUTOPKGTEST_TMP.
-rw-r--r-- | debian/tests/control | 2 | ||||
-rwxr-xr-x | debian/tests/run-testsuite | 1 | ||||
-rw-r--r-- | debian/zsh-dev.install | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/debian/tests/control b/debian/tests/control index e722554bc..aa12fa6e9 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,5 +1,5 @@ Tests: run-testsuite -Depends: zsh +Depends: zsh, zsh-dev Tests: adequate Depends: @, adequate diff --git a/debian/tests/run-testsuite b/debian/tests/run-testsuite index 64e3f2dce..ebecd7e91 100755 --- a/debian/tests/run-testsuite +++ b/debian/tests/run-testsuite @@ -25,6 +25,7 @@ cd "$AUTOPKGTEST_TMP" ln -vfs /usr/lib/*/zsh/[0-9]* "$ZTST_testdir/Modules" ln -vfs /usr/share/zsh/functions Functions ln -vfs /usr/share/zsh/functions/Completion . +ln -vfs /usr/include/zsh/config.modules . mkdir -pv Src for f in /bin/zsh*; do ln -vfs "$f" Src/ diff --git a/debian/zsh-dev.install b/debian/zsh-dev.install index 75127f849..41011e9d8 100644 --- a/debian/zsh-dev.install +++ b/debian/zsh-dev.install @@ -13,3 +13,4 @@ obj/Src/Modules/*.mdh usr/include/zsh/Modules obj/Src/Zle/*.h usr/include/zsh/Zle obj/Src/Zle/*.mdh usr/include/zsh/Zle obj/config.h usr/include/zsh +obj/config.modules usr/include/zsh |