File: upstream-tests

package info (click to toggle)
python-libarchive-c 2.8-0.3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 876 kB
  • sloc: python: 1,116; makefile: 17; sh: 11
file content (15 lines) | stat: -rwxr-xr-x 214 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -e

if ! [ -d "$ADTTMP" ]; then
	echo "ADTTMP not set." >&2
	exit 1
fi

cp -rv tests "$ADTTMP"
cd "$ADTTMP"
mkdir -v libarchive
touch README.rst
py.test tests -vv -l -r a
py.test-3 tests -vv -l -r a