run-tests 461 B

12345678910111213141516171819
  1. #!/bin/sh
  2. set -e
  3. # auto-package-test is very unhappy if stuff it writen to stderr
  4. exec 2> apt-stderr.log
  5. # we need the buildin webserver for the tests
  6. if [ ! -e environment.mak ]; then
  7. ./configure
  8. fi
  9. make -C test/interactive-helper/
  10. # run against the installed apt
  11. APT_INTEGRATION_TESTS_WEBSERVER_BIN_DIR=$(pwd)/build/bin \
  12. APT_INTEGRATION_TESTS_METHODS_DIR=/usr/lib/apt/methods \
  13. APT_INTEGRATION_TESTS_BUILD_DIR=/usr/bin \
  14. ./test/integration/run-tests