summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-01-25 12:39:42 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-01-25 12:39:42 +0100
commit18331adf730dca4a587f99605edff71436379ea6 (patch)
treedba03a080d59772f2fa47fd5a09678b1f57577af
parentb00a6e80892dcbf844ee70a449288e87290a821d (diff)
enable the split out of LongDescriptions per default in the testcases
-rw-r--r--test/integration/framework7
-rwxr-xr-xtest/integration/run-tests2
2 files changed, 7 insertions, 2 deletions
diff --git a/test/integration/framework b/test/integration/framework
index 5b83e7519..b95667670 100644
--- a/test/integration/framework
+++ b/test/integration/framework
@@ -221,7 +221,7 @@ buildsimplenativepackage() {
fi
local BUILDDIR=incoming/${NAME}-${VERSION}
- msgninfo "Build package ${NAME} in ${VERSIOM} for ${RELEASE} in ${DISTSECTION}… "
+ msgninfo "Build package ${NAME} in ${VERSION} for ${RELEASE} in ${DISTSECTION}… "
mkdir -p $BUILDDIR/debian/source
echo "* most suckless software product ever" > ${BUILDDIR}/FEATURES
echo "#!/bin/sh
@@ -319,6 +319,8 @@ Default {
Packages::Compress ". gzip bzip2 lzma";
Sources::Compress ". gzip bzip2 lzma";
Contents::Compress ". gzip bzip2 lzma";
+ Translation::Compress ". gzip bzip2 lzma";
+ LongDescription "false";
};
TreeDefault {
Directory "pool/";
@@ -433,6 +435,9 @@ generatereleasefiles() {
msgninfo "\tGenerate Release files… "
local DATE="${1:-now}"
if [ -e aptarchive/dists ]; then
+ for dir in $(find ./aptarchive/dists -mindepth 3 -maxdepth 3 -type d -name 'i18n'); do
+ aptftparchive -qq release $dir -o APT::FTPArchive::Release::Patterns::='Translation-*' > $dir/Index
+ done
for dir in $(find ./aptarchive/dists -mindepth 1 -maxdepth 1 -type d); do
local CODENAME="$(echo "$dir" | cut -d'/' -f 4)"
aptftparchive -qq release $dir -o APT::FTPArchive::Release::Suite="${CODENAME}" -o APT::FTPArchive::Release::Codename="${CODENAME}" | sed -e '/0 Release$/ d' > $dir/Release # remove the self reference
diff --git a/test/integration/run-tests b/test/integration/run-tests
index 5644f0a05..7314e6b61 100755
--- a/test/integration/run-tests
+++ b/test/integration/run-tests
@@ -5,7 +5,7 @@ DIR=$(readlink -f $(dirname $0))
if [ "$1" = "-q" ]; then
export MSGLEVEL=2
elif [ "$1" = "-v" ]; then
- export MSGLEVEL=5
+ export MSGLEVEL=4
fi
for testcase in $(run-parts --list $DIR | grep '/test-'); do
if [ "$1" = "-q" ]; then