File: unittests-default

package info (click to toggle)
pyrit 0.5.1%2Bgit20180801-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,596 kB
  • sloc: python: 4,667; ansic: 3,352; cpp: 1,490; asm: 394; lisp: 192; makefile: 15; sed: 7; sh: 6
file content (13 lines) | stat: -rw-r--r-- 411 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
# Run pyrit unit tests using the default Python version. Assumes
# $AUTOPKGTEST_TMP is set, see /usr/share/doc/autopkgtest/README.package-tests.gz
set -e

mkdir "$AUTOPKGTEST_TMP/home"
export HOME="$AUTOPKGTEST_TMP/home"

# We just copy the entire test suite to the $ADTTMP directory and run the
# tests from within there.
cp -r test "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"/test
python test_pyrit.py