gtk/testsuite
Simon McVittie 660c6c8d6f gsk, testsuite: Avoid undefined behaviour in half_to_float_one()
Similar to the previous commit, to avoid undefined behaviour we need
to avoid evaluating out-of-bounds shifts, even if their result is going
to ignored by being multiplied by 0 later.

Detected by running a subset of the test suite with
-Dsanitize=address,undefined on x86_64.

Signed-off-by: Simon McVittie <smcv@debian.org>
2024-07-27 20:22:09 +01:00
..
a11y tests: Fix signature of GtkTestATContext::update-selection-bound handlers 2024-07-27 00:59:03 +01:00
css css: Fix relative font sizes 2024-07-26 08:45:58 -04:00
gdk gsk, testsuite: Avoid undefined behaviour in half_to_float_one() 2024-07-27 20:22:09 +01:00
gsk gsk, testsuite: Avoid undefined behaviour in half_to_float_one() 2024-07-27 20:22:09 +01:00
gtk Tests: add GtkPicture builder test 2024-07-26 18:30:58 -04:00
headless ci: Build testsuite for macOS 2024-02-17 14:31:51 +01:00
introspection ci: Build testsuite for macOS 2024-02-17 14:31:51 +01:00
reftests reftests: Avoid some deprecated css 2024-06-27 21:03:14 -04:00
tools tests: Update for the new setting 2024-04-19 12:56:34 -04:00
meson.build testsuite: Use catch as testwrapper 2024-07-01 22:29:36 -04:00
testutils.c testsuite: fix memleak 2023-06-05 05:33:07 +02:00
testutils.h testsuite: Make function arguments const 2021-11-30 14:12:10 +01:00