Building and testing on multiple platforms – introducing minicoin

Published Tuesday June 4th, 2019 | 7 Comments on Building and testing on multiple platforms – introducing minicoin
Posted in Build system, C++, CI, Compilers, cross-platform, Dev Loop, Test | Tags:

When working on Qt, we need to write code that builds and runs on multiple platforms, with various compiler versions and platform SDKs, all the time. Building code, running tests, reproducing reported bugs, or testing packages is at best cumbersome and time consuming without easy access to the various machines locally. Keeping actual hardware around is […]

Read More
Frederik Gladhorn

Fixing a flaky test – how hard can it be?

Published Friday May 12th, 2017 | 2 Comments on Fixing a flaky test – how hard can it be?
Posted in C++, Debugging, Dev Loop, Qt, Random, Test | Tags: , , , , ,

Flaky tests are a pain point for any reasonable continuous integration system. And by flaky I refer to tests that sometimes pass and sometimes fail. Lately I’ve been bothered by a lack of data and metrics when it comes to discussions around the topic of flaky tests (it pops up regularly on the Qt development […]

Read More

Making auto-testing easier

Published Friday October 29th, 2010 | 18 Comments on Making auto-testing easier
Posted in Contributors, Qt, Test

If you are a contributor to Qt, you should know by now that your patches must not cause any regressions.  The auto-tests in Qt (located in <QTDIR>/tests/auto) are there to ensure that. These tests are run automatically by the Qt Continuous Integration System before merging a staging branch into the mainline. As a contributor, before […]

Read More

Compiling Qt with Clang

Published Friday October 29th, 2010 | 14 Comments on Compiling Qt with Clang
Posted in C++, Performance, Qt, Test

I’m happy to report that as of Qt revision 15f52e00 and Clang revision 116737 you’re now able to a complete build of Qt with Clang on both Linux and Mac, including support for precompiled headers. You’ll find the makespecs in Qt’s master branch: unsupported/macx-clang unsupported/linux-clang The mkspec are currently unsupported, but we’ve started running a few […]

Read More
Paul Olav Tvete

Please welcome qtintegration, the newest member of the team

Published Friday December 18th, 2009 | 9 Comments on Please welcome qtintegration, the newest member of the team
Posted in Git, Qt, Test

Some of you may have noticed a new committer to the Qt git repository. Someone who is tirelessly working night and day, but only seems to make merge commits. I am of course talking about Qt Continuous Integration System, who in addition to never getting any time off, never gets paid either. This is because […]

Read More

Analyzing benchmark results with BM

Published Thursday November 5th, 2009 | 8 Comments on Analyzing benchmark results with BM
Posted in Performance, Test

Benchmarking is an important concept for evaluating the performance of computer systems. It can be considered essentially a three-step process: Step 1 Define the benchmarks. Step 2 Execute the benchmarks and produce numbers. Step 3 Analyze the benchmark numbers. Each step has its own challenges: Step 1 is about writing programs that test sufficiently interesting/relevant parts […]

Read More

Iterating efficiently

Published Friday January 23rd, 2009 | 4 Comments on Iterating efficiently
Posted in Test

Qt provides a whole lot of ways to iterate over a QList: You can use STL like iterators, Java like iterators, use the foreach macro or access the list elements via their index. Personally I fell in love with foreach from the first day, but it was not long that somebody remarked “foreach is slow” […]

Read More
Get started today with Qt Download now