Commit Graph

4883 Commits

Author SHA1 Message Date
hjk
8c7d3c3a90 Debugger: Weaken QVariant(QUrl) test
... to make it pass with LLDB. The exact display of the private
is not *that* interesting anyways.

Change-Id: I2d0a8bdd5daff4b03c77b00c887837c7568ea508
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-04-15 07:46:20 +00:00
hjk
134234be67 Debugger: Workaround LLDB type handling failure on Linux
LLDB 3.7 on Linux doesn't get the namespace right in QMapNode:
sc t = lldb.target.FindFirstType('Myns::QMapNode<int, CustomStruct>')
sc t.GetName() -> QMapNode<int, CustomStruct> (no Myns::)

Change-Id: Ied306f70035e0669bc822700a92371b7de35a603
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-04-15 07:46:03 +00:00
hjk
e452ebde97 Debugger: Fix std::unordered_{map,set} dumper for LLDB on Linux
Change-Id: Id96d02cddcccdd7765e5a098bb98f894122781a1
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-04-15 05:53:12 +00:00
Ulf Hermann
0df8cc2e02 Timeline: Clear excess row heights when reducing the number of rows
Otherwise, if you increase the number of rows again later you get
surprising results.

Change-Id: I3ec809820716368849415f9dcdb1ec9208844353
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2015-04-14 15:19:46 +00:00
hjk
c9cce0b541 Debugger: Simplify LLDB test loop handling
We know that we expect a frame with valid debug info.

Change-Id: I51079ca4db87df05c93464fd46e5add1f756cba7
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-04-14 09:41:10 +00:00
hjk
d73a5c9f88 Debugger: Fix GCC/LLDB anon struct test by adjusting expectations
Change-Id: I31775513c2e4a690b2620225682c89ee8c9156d2
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-04-14 08:13:50 +00:00
hjk
53bd2e2ee9 Debugger: Improve normalization of types containing pointers
Always add a space before a *. This fixes some test cases with LLDB
that failed to recognize the default argument in "std::vector<int *,
std::allocator<int*> >" due to the different spacing.

Change-Id: Ib4a57a808551d0b4cd527021f7d19772378e405f
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-04-14 05:55:22 +00:00
Christian Stenger
08ad4bef77 Tests: Robustify compile of debugger auto tests
Change-Id: I9deb837b693c433e3c865dda2b212129e193d63b
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-04-13 13:26:10 +00:00
hjk
300304de19 Debugger: Parse openSUSE's gdb version strings
Change-Id: I49cfb29a3d6ec2245ed05956bb2cd46c6a2338cc
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-04-13 12:41:43 +00:00
Eike Ziller
11590a8c5f Merge remote-tracking branch 'origin/3.4'
Conflicts:
	src/plugins/cmakeprojectmanager/cmakeproject.cpp

Change-Id: I09c5a047f7d91fecfc58c78df438afcdcdc0a8d7
2015-04-13 10:53:03 +02:00
Daniel Teske
08c573fb0d QmlProjectManager: Remove dependency on qt quick 1 in a test
Seems it wasn't actually required at all

Change-Id: I4c622057b7fd85a64f99368eb07b502aee524955
Task-number: QTCREATORBUG-14217
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
2015-04-09 14:50:34 +00:00
Ulf Hermann
153a57ce80 Timeline: Test parenting of equal start times
If you insert events with equal start times in a way that the model can
not reorder them by their end times the parenting follows the indexes,
not the end times. This has caused confusion multiple times and it's
good to test it.

Change-Id: I3e9ba212ff377dc2afa2a2893637bb55edebafea
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
2015-04-09 13:41:51 +00:00
hjk
bfac365ebb Debugger: Fix parameter passing to LLDB dumper tests
Change-Id: Iae342ffe68385de877c7a1e9a7e61e7d4889f731
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-04-02 14:56:32 +00:00
hjk
3417ffad83 Debugger: Make QHash dumper pass again
Failures were due to version specific reordering. This is still
checked in cases h1, h7, h8. Simplify maintanance by removing the
check in the other cases.

Change-Id: I481672e693f6370c75bc4739d6cca937b9f027ea
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-04-02 14:07:30 +00:00
hjk
e6f73164c3 Debugger: Adjust QVariant2 dumper test
Take new QPolygon{,F} dumpers into account, also make QUrlPrivate
field accessible,

Change-Id: I2b5c122895c3ee389ba939eaeffcd613fa206009
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-04-02 14:07:24 +00:00
David Schulz
28c06b5b58 Test: Dumper: Adjust QVector test to cdb output.
Change-Id: I2da7f4b21251e1417efaf20813ce260ea286b1f2
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-04-02 13:24:37 +00:00
Robert Loehning
02b521a8ff Squish: Fix reading tooltips in tst_qml_editor
Change-Id: Ie65752d2c8c87c3802c810b98ffe7b122549c762
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-04-02 13:09:03 +00:00
David Schulz
8548343ef4 Test: Dumper: Fix Compilation and adjust cdb output of "BigInt" test.
Change-Id: I8ecfd77cd72e155e291acdc96fcbfd49572c91e3
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-04-02 13:07:30 +00:00
Eike Ziller
e56118cc1e Merge remote-tracking branch 'origin/3.4'
Conflicts:
	src/libs/extensionsystem/pluginview.cpp

Change-Id: I316199fe0a257cb085668ccb183b1590555278f2
2015-04-02 11:56:55 +02:00
Nikita Baryshnikov
ed9104bad6 TstPluginspec: fix compilation
Change-Id: Ic89b06f60231a4a2bee815dacf6c9fce0818566a
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-04-01 13:03:49 +00:00
Robert Loehning
1d0e61a52c Squish: Work around items not expanding
Task-number: QTCREATORBUG-14210
Change-Id: I64e5b53c5cb82b961ec100d73f0987d79d68f5b4
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-04-01 11:12:29 +00:00
Eike Ziller
fcc6b11230 Merge remote-tracking branch 'origin/3.4'
Conflicts:
	qtcreator.pri
	qtcreator.qbs

Change-Id: Iaff42d30008db13ecb685e5157c82292fe48b038
2015-04-01 11:53:26 +02:00
Robert Loehning
40d112d5ec Squish: Make deep copies of Targets.ALL_TARGETS
Fixes crash in tst_generic_highlighter

Change-Id: I186cf47990e80ee6902c0812e6d6e3a260dfeec5
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-31 14:37:05 +00:00
David Schulz
1aa8c5258f Test: Dumper: Adjust test to cdb output.
Change-Id: Iae81984eedeb4f7190268eb5d19fb652e76f8f34
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-31 13:25:36 +00:00
Eike Ziller
a7f48ac133 Merge remote-tracking branch 'origin/3.4' 2015-03-31 09:09:32 +02:00
Robert Loehning
1d0582ecdb Squish: Simplify maintenance of kits
Change-Id: I757ff8991f1f2c54789b3b536c0300e0fe643bf2
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-30 13:56:20 +00:00
Robert Loehning
a127bb780c Squish: Remove outdated workaround
Change-Id: I717e3422f728fcf71bc984c0c9113ecef6341163
Task-number: QTCREATORBUG-13700
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-30 09:35:17 +00:00
David Schulz
12cd3839a6 Cdbext: Fix QByteArray dumper for unprintable characters.
Change-Id: I7075df252ea9739600fdbf01c27987d2c0f8d159
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-30 05:18:45 +00:00
Robert Loehning
54438b21aa Squish: Removing Qt 4.8.0 MinGW kit
Change-Id: Id88c715ee294e337600a5b41abd79569b11eddbf
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-26 13:21:45 +00:00
Eike Ziller
65cd5381d9 Merge remote-tracking branch 'origin/3.4' 2015-03-26 12:51:06 +01:00
Robert Loehning
434c99f08e Squish: Remove outdated workaround for Mac
Change-Id: Id2554aa15eb32511f56386941044fa322fab767c
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-25 14:39:24 +00:00
hjk
0c2a1ab3be Debugger: Adjust QFile dumper to library changes
Change-Id: I44ac0de970a41fc7da0453ed853396a6943ffb0b
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-03-24 12:51:03 +00:00
Ulf Hermann
d57c7e14fe Timeline: In autotests, fail if the renderer warns
Warnings from the scene graph renderer are most likely things we want
to catch when testing, such as failure to compile the shaders.

Change-Id: I96bcf4a44d0986ca6f065cda71b242ebb355ce84
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2015-03-24 11:23:17 +00:00
Eike Ziller
9790d8aa00 Merge remote-tracking branch 'origin/3.4' 2015-03-24 07:40:21 +01:00
hjk
2b7c83bfbf Tests: Add a shootout test for implementations of operator==
That's for a structure mimicking QMakeStepConfig, comparing
a.x == b.x && a.y == b.y ... with
std::tie(a.x, a.y, ...) == std::tie(b.x, b.y, ...)

Executive summary: gcc 4.9.1 optimizes the traditional == && == better.
This is solely due to the sequence of four bools in the struct.

Change-Id: I77cc8d685c6b7b7ead651cd1f44ff1b2e9b39f3d
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
2015-03-23 12:09:45 +00:00
David Schulz
0b6b5631b7 Tests: Dumper: Fix QByteArray dumper test for cdb.
Change-Id: Ic5cdf0092d720bc13c1609b6e489e48712645f8b
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-23 08:48:46 +00:00
David Schulz
81a70627a4 Tests: Dumper: Add current data tag to tmp build dir name.
Change-Id: I91c26bcb70a10ed00c32f8bf18f16e0ac449c5b6
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-03-19 07:24:09 +00:00
hjk
e8f8aaa263 Debugger: Fix dumper format choosing with GDB
... and further unify GDB and LLDB code paths.

Change-Id: Id89f3804c53190c4888082891fd3c3c55eceac84
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-19 06:59:01 +00:00
Christian Stenger
693e1b7227 Squish: Improve tst_default_settings
Change-Id: I6aebbf300e9e86729c0b00bee3bb9b6d4bf87854
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2015-03-17 16:59:41 +00:00
Christian Stenger
3cd9bbb550 Tests: Fix building
Change-Id: I381bb020b75fbc7e43bff6bd2fef5982ed114c14
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-03-17 10:00:35 +00:00
Orgad Shaneh
b1e839c21b Tests: Cleanup project files for Utils tests
Change-Id: I75ad17d12994376d88117570250a6c45e7495fea
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-17 09:39:19 +00:00
Orgad Shaneh
cde50f23fc Tests: Fix compilation
Change-Id: I7cb3b5636413abfc52578e8ae0c43f745efa2f0d
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-03-14 17:26:12 +00:00
Orgad Shaneh
a341094a68 C++: Fix preprocessing of comments within function-like macro
Task-number: QTCREATORBUG-9535
Change-Id: Ifd94f674214314b3694be74cca297ddab873cd8c
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-03-13 14:34:07 +00:00
Nikolai Kosjar
4e1d281963 C++: Fix crash on invalid function qualified name
Task-number: QTCREATORBUG-14135
Change-Id: I94e850f729bd3dbf4212960c7a980a1f118030b4
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-03-13 13:21:04 +00:00
Christian Stenger
66c29ea8ec Squish: Fix tst_CSUP03
Change-Id: I6556440ebcf77ae3164c4f659ff1c4b6e189d6ea
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2015-03-13 13:08:07 +00:00
Orgad Shaneh
c9b71a268b C++: Provide better output on preprocessor test failure
Make the expected output copyable to the test.

Change-Id: I4fc61682f14d0de054a11d2ffa4a0f36ede0e500
Reviewed-by: Francois Ferrand <thetypz@gmail.com>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-03-13 11:28:11 +00:00
Robert Loehning
cb42ff0deb Squish: Fix WELP03
Change-Id: Idf0c03b8a4746f63ab16c7391bc69d65629d7643
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-11 15:33:12 +00:00
Christian Stenger
14a02d5081 Debugger: Tests: Fix execution of dumper tests on OSX
Change-Id: Ibe3e447d29e3834766ef067ba4424c3b08ba5eb1
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-03-10 08:55:14 +00:00
Robert Loehning
559d8dc203 Squish: Fix tst_simple_analyze
Change-Id: I56a7c2a651fc9d2701cf650279a677856b6cf84c
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-09 14:36:56 +00:00
Sergio Ahumada
2c876f7443 Update some more links to qt.io
Change-Id: I043cf78f128dc8d99e3316b951cf91d2f6d6524a
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-03-09 14:30:39 +00:00