]> rtime.felk.cvut.cz Git - omk.git/blobdiff - tests/qt/runtest
Updated QT rules
[omk.git] / tests / qt / runtest
index 45435374c5f571ac47a632dcad745191c19fbf4c..4961fd3cd849466702dc0995a68aaa7bd4c6554f 100755 (executable)
@@ -2,6 +2,8 @@
 
 . ../functions.sh
 
+trap 'rm -f qtapp/Makefile' EXIT
+
 touch config.omk-default
 QTDIR=/usr/share/qt4
 export QTDIR
@@ -9,10 +11,12 @@ export QTDIR
 
 cp Makefile1.omk Makefile.omk
 make || error "QT compilation"
-[ -x qtapp/qtapp ] || error "QT application was not compiled"
+[ -x _compiled/bin/qtapp ] || error "QT application was not compiled"
 
-make distclean || error "QT distclean"
+make clean || error "QT clean"
 
 cp Makefile2.omk Makefile.omk
 make || error "QT Compilation in subdir"
-[ -x qtapp/qtapp ] || error "QT application was not compiled"
+[ -x _compiled/bin/qtapp ] || error "QT application was not compiled"
+
+make clean || error "QT clean"