]> rtime.felk.cvut.cz Git - omk.git/commitdiff
Simplify manual execution of QT test
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 4 Oct 2013 15:50:13 +0000 (17:50 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 4 Oct 2013 15:50:13 +0000 (17:50 +0200)
Now it is not necessary to specify OMK_RULES as it default to linux.

tests/qt

index 73b2d72c76a24dae5b1a746a24992400cf92f71c..1373ba4a50d3b87ab63a8f85e51437bceb99d3a5 100755 (executable)
--- a/tests/qt
+++ b/tests/qt
@@ -1,6 +1,7 @@
 #!/bin/bash
 
-[[ $OMK_RULES != linux ]] && exit 0
+[ "$OMK_RULES" -a "$OMK_RULES" != linux ] && exit 0
+
 
 . ./functions.sh