File: upstreamtestsuite

package info (click to toggle)
python-json5 0.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,888 kB
  • sloc: python: 1,969; sh: 11; makefile: 4
file content (12 lines) | stat: -rw-r--r-- 235 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -e

tmpdir=$(mktemp -d -t pyjson5-temp-XXXXXX)
trap "rm -rf $tmpdir" 0 INT QUIT ABRT PIPE TERM

mkdir $tmpdir/tests/
cp tests/*.py $tmpdir/tests
rm $tmpdir/tests/tool_test.py
cp sample.json5 $tmpdir
cd $tmpdir
pytest-3 .