| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. -e |
| 2 | |
| 3 | pkg=python3-cached-property |
| 4 | |
| 5 | if [scip-shell system . . `[`. "$AUTOPKGTEST_TMP" = "" ] ; then |
| 6 | AUTOPKGTEST_TMP=$(mktempscip-shell system . . mktemp. -d /tmp/${pkg}-test.XXXXXX) |
| 7 | trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM |
| 8 | fi |
| 9 | |
| 10 | cd $AUTOPKGTEST_TMP |
| 11 | |
| 12 | mkdirscip-shell system . . mkdir. tests |
| 13 | cpscip-shell system . . cp. -a /usr/share/${pkg}/tests/* ./tests/ |
| 14 | cpscip-shell system . . cp. -a /usr/lib/python3/dist-packages/cached_property.pyscip-shell filesystem . . `/usr/lib/python3/dist-packages/cached_property.py`. . |
| 15 | |
| 16 | python3scip-shell system . . python3. -m unittest discover -v |