File: unittests

package info (click to toggle)
pycparser 2.23-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 1,760 kB
  • sloc: python: 10,091; ansic: 1,981; makefile: 18; sh: 11
file content (15 lines) | stat: -rwxr-xr-x 367 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
set -efu

pythons="$(py3versions -sv)"

cp -a tests $AUTOPKGTEST_TMP
mkdir $AUTOPKGTEST_TMP/utils
ln -s /usr/share/python3-pycparser/fake_libc_include $AUTOPKGTEST_TMP/utils
ln -s /usr/share/doc/python3-pycparser/examples $AUTOPKGTEST_TMP/
cd "$AUTOPKGTEST_TMP"

for py in $pythons; do
	echo "=== python$py ==="
	python$py -m unittest discover -v 2>&1
done