]> rtime.felk.cvut.cz Git - omk.git/blobdiff - tests/qt/runtest
Updated QT rules
[omk.git] / tests / qt / runtest
index 8fef771c82d7bad24555684863b1bb3e2f4f49ed..4961fd3cd849466702dc0995a68aaa7bd4c6554f 100755 (executable)
@@ -1,6 +1,8 @@
 #!/bin/sh
 
-source ../functions.sh
+. ../functions.sh
+
+trap 'rm -f qtapp/Makefile' EXIT
 
 touch config.omk-default
 QTDIR=/usr/share/qt4
@@ -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"