]> git.saurik.com Git - apt.git/blame_incremental - debian/tests/run-tests
CMake: debian: Switch packaging over to CMake and dh 9
[apt.git] / debian / tests / run-tests
... / ...
CommitLineData
1#!/bin/sh
2
3set -e
4
5# we need the buildin webserver for the tests
6if [ ! -e environment.mak ]; then
7 make startup
8fi
9make -C test/interactive-helper/
10
11# run tests against the installed apt, use "env -i" to ensure
12# the host env does not pollute our environment
13env -i \
14APT_INTEGRATION_TESTS_SOURCE_DIR=$(pwd) \
15APT_INTEGRATION_TESTS_WEBSERVER_BIN_DIR=$(pwd)/build/bin \
16APT_INTEGRATION_TESTS_METHODS_DIR=/usr/lib/apt/methods \
17APT_INTEGRATION_TESTS_LIBEXEC_DIR=/usr/lib/apt/ \
18APT_INTEGRATION_TESTS_INTERNAL_SOLVER=/usr/lib/apt/solvers/apt \
19APT_INTEGRATION_TESTS_DUMP_SOLVER=/usr/lib/apt/solvers/dump \
20APT_INTEGRATION_TESTS_INTERNAL_PLANNER=/usr/lib/apt/planners/apt \
21APT_INTEGRATION_TESTS_BUILD_DIR=/usr/bin \
22APT_INTEGRATION_TESTS_FTPARCHIVE_BIN_DIR=/usr/bin \
23APT_INTEGRATION_TESTS_LIBRARY_PATH=/dev/null/does/not/exist \
24./test/integration/run-tests -q