File: run-unit-test

package info (click to toggle)
python-typing-extensions 3.7.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 336 kB
  • sloc: python: 3,250; sh: 9; makefile: 4
file content (11 lines) | stat: -rwxr-xr-x 326 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -e

pkg=python3-typing-extensions
if [ "$ADTTMP" = "" ] ; then
	ADTTMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
fi
cd "$ADTTMP"
gunzip -c /usr/share/doc/${pkg}/examples/test_typing_extensions.py.gz > \
	test_typing_extensions.py
cp $(dpkg -L ${pkg} | grep /typing_extensions.py$) ./
python3 test_typing_extensions.py -v