]> git.saurik.com Git - apt.git/blame - debian/tests/run-tests
initial version of apt-helper
[apt.git] / debian / tests / run-tests
CommitLineData
fdef7c5e
MV
1#!/bin/sh
2
3set -e
4
fc104da6
MP
5unset LANGUAGE
6export LC_ALL=C
7
5c0dd6fc
MV
8# we need the buildin webserver for the tests
9if [ ! -e environment.mak ]; then
28b4b983 10 make startup
5c0dd6fc
MV
11fi
12make -C test/interactive-helper/
13
14# run against the installed apt
15APT_INTEGRATION_TESTS_WEBSERVER_BIN_DIR=$(pwd)/build/bin \
16APT_INTEGRATION_TESTS_METHODS_DIR=/usr/lib/apt/methods \
e43a426e 17APT_INTEGRATION_TESTS_LIBEXEC_DIR=/usr/lib/apt/ \
5c0dd6fc
MV
18APT_INTEGRATION_TESTS_BUILD_DIR=/usr/bin \
19./test/integration/run-tests