[Qt-creator] How to run single new autotest

André Hartmann andre.hartmann at iseg-hv.de
Tue Sep 10 08:46:47 CEST 2013


Hi Orgad,

Thanks, I didn't know that. Seem like I could have asked you directly 
yesterday :)

I will try this afternoon.

Is this documented somewhere?

Best regards,
André

Am 10.09.2013 08:41, schrieb Orgad Shaneh:
> On Tue, Sep 10, 2013 at 9:20 AM, André Hartmann
> <andre.hartmann at iseg-hv.de <mailto:andre.hartmann at iseg-hv.de>> wrote:
>
>     Hello,
>
>     I've working on adding a new autotest for the AnsiEscapeCodeHandler:
>
>     https://codereview.qt-project.org/#change,65028
>
>     The test should in principle work like the one for fileutils.
>
>     I've managed to compile and link this after some investigation and with
>     help from Orgad.
>
>     Now my question: How can I run just this single test? Running all tests
>     lasts too long during development.
>
>     Best regards,
>     André
>     _______________________________________________
>     Qt-creator mailing list
>     Qt-creator at qt-project.org <mailto:Qt-creator at qt-project.org>
>     http://lists.qt-project.org/mailman/listinfo/qt-creator
>
>
> Good morning,
>
> If you build it using Creator (by passing BUILD_TESTS=1 to qmake), you
> can just choose it in the Run configuration (or in the mini target
> selector).
>
> Otherwise, execute ./tst_ansiescapecodehandler from the build directory.
>
> Executing qtcreator -test *doesn't* run those tests anyway.
>
> - Orgad


-- 
Best regards / Mit freundlichen Grüßen
André Hartmann, Dipl.-Ing. (FH)
Software Project Manager

iseg Spezialelektronik GmbH         |  phone: ++49 (0)351 26996-43
Bautzner Landstr. 23                |  fax:   ++49 (0)351 26996-21
D-01454 Radeberg / Rossendorf       |  web:   www.iseg-hv.com

Geschäftsführer / Managing director: Dr. F. Gleisberg, Dr. J. Pöthig
Amtsgericht / Lower district court: Dresden HRB 16250
Ust.-Id.-Nr. / VAT-ID: DE812508942

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder
diese E-Mail irrtümlich erhalten haben, informieren Sie bitte
sofort den Absender und vernichten Sie diese Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser
Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail
in error) please notify the sender immediately and delete this e-mail.
Any unauthorized copying, disclosure or distribution of the material
in this e-mail is strictly forbidden.



More information about the Qt-creator mailing list