summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/runall.sh
blob: d9eddf9710385a9839d2879518bb714a40ff1e68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/sh

Xnest :7 2>/dev/null &
sleep 1
trap "kill $!" EXIT
export DISPLAY=:7

( make -k -j1 install 2>&1;
  for exe in $(make install | sed -n 's/^install .* "\([^"]*qt4\/tst_[^"]*\)".*/\1/p')
  do
     $exe
  done
) |
    while read line
    do
        case "$line" in
        make*Error) echo "$line";;
        make*Stop) echo "$line";;
        make*) ;;
        install*) ;;
        */qmake*) ;;
        */bin/moc*) ;;
        *targ.debug*) ;;
        g++*) ;;
        cd*) ;;
        PASS*) ;;
        QDEBUG*) ;;
        Makefile*) ;;
        Config*) ;;
        Totals*) ;;
        \**) ;;
        ./*) ;;
        *) echo "$line"
        esac
    done