File: all_tests

package info (click to toggle)
auto-multiple-choice 1.4.0-2~exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 18,520 kB
  • sloc: perl: 23,839; xml: 20,920; cpp: 1,791; makefile: 472; ansic: 186; sh: 80
file content (19 lines) | stat: -rwxr-xr-x 218 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/bash

RESULT_FILE=/tmp/amc-test.log
FAILS=0

ARGS=$@

source ./try_one.sh

for t in t/*/test.sh
do
    try_one $t || FAILS=1
done
for t in t/*/test.pl
do
    try_one "$PERLPATH $t" || FAILS=1
done

exit $FAILS