File: runall.pl

package info (click to toggle)
libqt-perl 3.008-3.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 4,212 kB
  • ctags: 1,365
  • sloc: perl: 16,458; sh: 9,686; cpp: 6,711; makefile: 78
file content (8 lines) | stat: -rw-r--r-- 220 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
#!/usr/bin/perl -w
# Use the tutorials as a test suite
@tutorials = (sort(glob("t?")), sort(glob("t??")));
for $tutorial (@tutorials) {
    chdir($tutorial) || next;
    system("$^X -w $tutorial.pl");
    chdir("..");
}