]> git.saurik.com Git - apt.git/blame - debian/tests/run-tests
Release 1.2.7
[apt.git] / debian / tests / run-tests
CommitLineData
fdef7c5e
MV
1#!/bin/sh
2
3set -e
4
5c0dd6fc
MV
5# we need the buildin webserver for the tests
6if [ ! -e environment.mak ]; then
28b4b983 7 make startup
5c0dd6fc
MV
8fi
9make -C test/interactive-helper/
10
74c3db65
MV
11# run tests against the installed apt, use "env -i" to ensure
12# the host env does not pollute our environment
13env -i \
e8fb1cdf 14APT_INTEGRATION_TESTS_SOURCE_DIR=$(pwd) \
5c0dd6fc
MV
15APT_INTEGRATION_TESTS_WEBSERVER_BIN_DIR=$(pwd)/build/bin \
16APT_INTEGRATION_TESTS_METHODS_DIR=/usr/lib/apt/methods \
ed9665ae 17APT_INTEGRATION_TESTS_LIBEXEC_DIR=/usr/lib/apt/ \
3082603f 18APT_INTEGRATION_TESTS_INTERNAL_SOLVER=/usr/lib/apt/solvers/apt \
ad7e0941 19APT_INTEGRATION_TESTS_DUMP_SOLVER=/usr/lib/apt/solvers/dump \
5c0dd6fc 20APT_INTEGRATION_TESTS_BUILD_DIR=/usr/bin \
3b8eb3bc 21APT_INTEGRATION_TESTS_LIBRARY_PATH=/dev/null/does/not/exist \
052a7f48 22./test/integration/run-tests -q