]> rtime.felk.cvut.cz Git - omk.git/blob - tests/qt/runtest
Fixed test functions to work under dash shell
[omk.git] / tests / qt / runtest
1 #!/bin/sh
2
3 . ../functions.sh
4
5 touch config.omk-default
6 QTDIR=/usr/share/qt4
7 export QTDIR
8 [ -d $QTDIR ] || canttest "Can't find QT4 instalation"
9
10 cp Makefile1.omk Makefile.omk
11 make || error "QT compilation"
12 [ -x qtapp/qtapp ] || error "QT application was not compiled"
13
14 make distclean || error "QT distclean"
15
16 cp Makefile2.omk Makefile.omk
17 make || error "QT Compilation in subdir"
18 [ -x qtapp/qtapp ] || error "QT application was not compiled"