Commit 6cbe67e6 authored by Axel Beckert's avatar Axel Beckert

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.
parent 087d6045
Tests: run-testsuite
Depends: zsh
Depends: zsh, zsh-dev
Tests: adequate
Depends: @, adequate
......@@ -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/
......
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment