]> rtime.felk.cvut.cz Git - omk.git/blob - tests/qt/runtest
Updated QT rules
[omk.git] / tests / qt / runtest
1 #!/bin/sh
2
3 . ../functions.sh
4
5 trap 'rm -f qtapp/Makefile' EXIT
6
7 touch config.omk-default
8 QTDIR=/usr/share/qt4
9 export QTDIR
10 [ -d $QTDIR ] || canttest "Can't find QT4 instalation"
11
12 cp Makefile1.omk Makefile.omk
13 make || error "QT compilation"
14 [ -x _compiled/bin/qtapp ] || error "QT application was not compiled"
15
16 make clean || error "QT clean"
17
18 cp Makefile2.omk Makefile.omk
19 make || error "QT Compilation in subdir"
20 [ -x _compiled/bin/qtapp ] || error "QT application was not compiled"
21
22 make clean || error "QT clean"