qtdeclarative/tests
Olivier De Cannière 6a2308e500 Compiler: Don't stop after first diagnostic
The type propagator currently skips all subsequent instructions as soon
as an error occurs. We want to be able to provide more than one warning
at the time within the same binding/function.

Therefore, stop skipping all instructions on the first error. The output
accumulator is set to a var after an error to avoid leaving it in an
invalid state and to be able to reuse later code. Some extra checks were
also added to avoid crashes.

Fixes: QTBUG-127624
Change-Id: Ifc0389767a067181c6e3ba4d5c3fc1a0597c29ef
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2024-08-23 07:56:20 +02:00
..
auto Compiler: Don't stop after first diagnostic 2024-08-23 07:56:20 +02:00
baseline Baseline test: Improve the scene grabber's animation handling 2024-08-17 07:57:58 +02:00
benchmarks Only send a LocationChanged event for the item where geometry changed 2024-07-12 16:17:13 +02:00
global
libfuzzer/qml
manual Correct license in test directory 2024-08-12 19:31:55 +02:00
system
testapplications
CMakeLists.txt
README

README

This directory contains autotests and benchmarks based on QTestlib. In order
to run the autotests reliably, you need to configure a desktop to match the
test environment that these tests are written for.

Linux X11:

   * The user must be logged in to an active desktop; you can't run the
     autotests without a valid DISPLAY that allows X11 connections.

   * The tests are run against a KDE3 or KDE4 desktop.

   * Window manager uses "click to focus", and not "focus follows mouse". Many
     tests move the mouse cursor around and expect this to not affect focus
     and activation.

   * Disable "click to activate", i.e., when a window is opened, the window
     manager should automatically activate it (give it input focus) and not
     wait for the user to click the window.