run-tests 485 B

123456789101112131415161718
  1. #!/bin/sh
  2. set -e
  3. # we need the buildin webserver for the tests
  4. if [ ! -e environment.mak ]; then
  5. make startup
  6. fi
  7. make -C test/interactive-helper/
  8. # run against the installed apt
  9. APT_INTEGRATION_TESTS_WEBSERVER_BIN_DIR=$(pwd)/build/bin \
  10. APT_INTEGRATION_TESTS_METHODS_DIR=/usr/lib/apt/methods \
  11. APT_INTEGRATION_TESTS_LIBEXEC_DIR=/usr/lib/apt/ \
  12. APT_INTEGRATION_TESTS_BUILD_DIR=/usr/bin \
  13. APT_INTEGRATION_TESTS_LIBRARY_PATH=/dev/null/does/not/exist \
  14. ./test/integration/run-tests