gtk2/testsuite
Alexander Larsson b4af23be23 snapshot: Fix assert in inhibition
In https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/2027 i was getting

Bail out! ERROR:../testsuite/reftests/reftest-snapshot.c:212:reftest_uninhibit_snapshot: assertion failed: (inhibit_count > 0)

In (for example the box-shadow-changes-modify-clip reftest. I can reproduce this (on master) with:

```
$ xvfb-run -a -s "-screen 0 1024x768x24" meson test --suite gtk:reftest "reftest box-shadow-changes-modify-clip.ui"
...
1/1 gtk:reftest / reftest box-shadow-changes-modify-clip.ui ERROR          0.77s
``

Fix this by re-inhibiting if we didn't draw anything, or we will get an assert the next paint.
2020-06-04 14:22:27 +02:00
..
a11y tetsuite/a11y: Pass common_cflags to build 2020-05-19 08:32:33 +02:00
css testsuite: Remove window decoration nodes from reference results 2020-05-20 17:06:54 +02:00
gdk tests: Centralize our test setup a bit 2020-05-15 14:11:53 -04:00
gsk compare-render: Fix some memory leaks 2020-05-24 17:14:18 +02:00
gtk Add GtkMultiSelection 2020-06-03 13:32:57 -04:00
performance tests: Allow setting a subdir for output 2020-05-15 14:11:53 -04:00
reftests snapshot: Fix assert in inhibition 2020-06-04 14:22:27 +02:00
tools tests: Centralize our test setup a bit 2020-05-15 14:11:53 -04:00
meson.build testsuite: Remove GDK_DEBUG=misc 2020-05-18 16:38:11 -04:00