]> rtime.felk.cvut.cz Git - omk.git/blobdiff - tests/qt/runtest
QT: Added QT_PROJECT variable
[omk.git] / tests / qt / runtest
index 4961fd3cd849466702dc0995a68aaa7bd4c6554f..96bf360b94951257530e71af09d2a1ec7c545644 100755 (executable)
@@ -2,8 +2,6 @@
 
 . ../functions.sh
 
-trap 'rm -f qtapp/Makefile' EXIT
-
 touch config.omk-default
 QTDIR=/usr/share/qt4
 export QTDIR
@@ -13,10 +11,16 @@ cp Makefile1.omk Makefile.omk
 make || error "QT compilation"
 [ -x _compiled/bin/qtapp ] || error "QT application was not compiled"
 
-make clean || error "QT clean"
+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"
+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"