File: test.sh

package info (click to toggle)
python-xlib 0.33-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,040 kB
  • sloc: python: 23,022; awk: 89; makefile: 60; sh: 10
file content (3 lines) | stat: -rwxr-xr-x 156 bytes parent folder | download | duplicates (4)
1
2
3
#!/bin/bash
(shopt -s globstar; for s in */**.py; do timeout 1 python2 -3 "$s"; done) 2> error.log > /dev/null
grep -i failed error.log && exit 1 || exit 0