File: unittests-default-python3

package info (click to toggle)
liac-arff 2.5.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 356 kB
  • sloc: python: 2,706; makefile: 126; sh: 23
file content (11 lines) | stat: -rw-r--r-- 427 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# Run python3-liac-arff unit tests using the default Python 3 version. Assumes
# $AUTOPKGTEST_TMP is set, see /usr/share/doc/autopkgtest/README.package-tests.rst.gz
set -e

# We just copy the entire test suite to the $AUTOPKGTEST_TMP directory and run the
# tests from within there.
mkdir "$AUTOPKGTEST_TMP"/python3
cp -r tests "$AUTOPKGTEST_TMP"/python3
cd "$AUTOPKGTEST_TMP"/python3
python3 -m unittest discover -v