[QBS] Run all tests

Иван Комиссаров abbapoh at gmail.com
Tue Feb 18 12:31:41 CET 2014


If i understand you correctly, you want to list all products that are built using qbs and run products which name starts with "tst_".

I have the same issue - i need to list all products. Is that possible?

Иван Комиссаров

05 сент. 2013 г., в 7:33, Admin <admin at geo-nadir.ru> написал(а):

> 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.




More information about the Qbs mailing list