[QBS] Run all tests.

Семененко Андрея cemehehko at mail.ru
Mon Sep 9 10:00:31 CEST 2013


Hello. 
 
I need to run all my tests with a "single button". Is it possible?
I have found command line command "properties". It shows all properties. So you can do "grep" or "sed" yours. 

My command was:
"qbs properties | sed -ne 's/^targetName: "\(tst_.*\)"/\1/p' | xargs -i{} sh -c 'qbs run -p {} release -- -xml -o {}.xml'"

But after checkout I miss this command. 
I don't like to support list of all my tests in two places (.qbs & .sh).

Thank you.

Andrew.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20130909/ea238db4/attachment.html>


More information about the Qbs mailing list