File: testdir

package info (click to toggle)
taskjuggler 2.3.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 8,764 kB
  • ctags: 3,700
  • sloc: cpp: 36,852; sh: 12,761; xml: 5,541; perl: 5,207; makefile: 269; python: 258; lisp: 67
file content (20 lines) | stat: -rwxr-xr-x 261 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /bin/sh

set errors=0

dirs=`find * -maxdepth 0 -type d`

for d in $dirs ; do
  if [ $d != "CVS" ] ; then
    cd $d
    ./runtest
    errors=$(( $errors + $? ))
    if [ $? -ne 0 ] ; then
      echo "Test $d failed"
    fi
    cd ..
  fi
done

exit $errors