]> git.saurik.com Git - apt.git/blame_incremental - debian/tests/run-tests
treat .ddeb files like .deb, especially for dpkg
[apt.git] / debian / tests / run-tests
... / ...
CommitLineData
1#!/bin/sh
2
3set -e
4
5if [ ! -e build/CMakeCache.txt ]; then
6 mkdir build || true
7 ( cd build && cmake .. )
8fi
9
10make -C build/test/interactive-helper
11
12# run tests against the installed apt, use "env -i" to ensure
13# the host env does not pollute our environment
14env -i \
15APT_INTEGRATION_TESTS_SOURCE_DIR=$(pwd) \
16APT_INTEGRATION_TESTS_WEBSERVER_BIN_DIR=$(pwd)/build/test/interactive-helper \
17APT_INTEGRATION_TESTS_METHODS_DIR=/usr/lib/apt/methods \
18APT_INTEGRATION_TESTS_LIBEXEC_DIR=/usr/lib/apt/ \
19APT_INTEGRATION_TESTS_INTERNAL_SOLVER=/usr/lib/apt/solvers/apt \
20APT_INTEGRATION_TESTS_DUMP_SOLVER=/usr/lib/apt/solvers/dump \
21APT_INTEGRATION_TESTS_INTERNAL_PLANNER=/usr/lib/apt/planners/apt \
22APT_INTEGRATION_TESTS_BUILD_DIR=/usr/bin \
23APT_INTEGRATION_TESTS_FTPARCHIVE_BIN_DIR=/usr/bin \
24APT_INTEGRATION_TESTS_LIBRARY_PATH=/dev/null/does/not/exist \
25./test/integration/run-tests -q