I am trying to execute the already existing unit tests of the source of 
qt-creator,
for example the Unit tests of GccParser.
All of the Unit Test of qt-creator are inside pre-processor symbols e.g.: 

#ifdef WITH_TESTS
...
//unit tests
...
#endifI am using Qt4.7.4 to build the the project of qt.
I tried to enable the WITH_TESTS flags by adding the arguments

DEFINES+=WITH_TESTS
or
CXXFLAGS+=-DWITH_TESTS
to qmake under Build Steps with no result.

So how will I execute the code which is inside the pre-processor symbols?
Any suggestions?
                                          
_______________________________________________
Qt-creator mailing list
Qt-creator@qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-creator

Reply via email to