File: run-example

package info (click to toggle)
ctdopts 1.5-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 228 kB
  • sloc: python: 938; makefile: 11; sh: 6
file content (7 lines) | stat: -rwxr-xr-x 190 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
#!/bin/sh -ex
for py in $(py3versions -s 2>/dev/null)
	do echo "Testing with $py:"
	${py} -c "import CTDopts; print(CTDopts)"
	${py} /usr/share/doc/python3-ctdopts/examples/example.py
done