]> rtime.felk.cvut.cz Git - omk.git/blobdiff - tests/qt/runtest
Merge branch 'master' into devel
[omk.git] / tests / qt / runtest
index 845edc1eeb350e6ce5e9aba815328b0955a1e28c..96bf360b94951257530e71af09d2a1ec7c545644 100755 (executable)
@@ -1,8 +1,26 @@
 #!/bin/sh
 
-source ../functions.sh
+. ../functions.sh
 
 touch config.omk-default
 QTDIR=/usr/share/qt4
+export QTDIR
 [ -d $QTDIR ] || canttest "Can't find QT4 instalation"
-make QTDIR=$QTDIR
+
+cp Makefile1.omk Makefile.omk
+make || error "QT compilation"
+[ -x _compiled/bin/qtapp ] || error "QT application was not compiled"
+
+make clean || error "QT clean 1"
+
+cp Makefile2.omk Makefile.omk
+make || error "QT Compilation in subdir"
+[ -x _compiled/bin/qtapp ] || error "QT application was not compiled"
+
+make clean || error "QT clean 2"
+
+cp Makefile3.omk Makefile.omk
+make || error "QT_PROJECT test "
+[ -x _compiled/bin/qtapp ] || error "QT application was not compiled"
+
+make clean || error "QT clean 3"