1
1
mirror of https://gitlab.gnome.org/GNOME/gimp.git synced 2025-10-06 01:12:40 +02:00

Compare commits

...

3 Commits

Author SHA1 Message Date
Jacob Boerema
dda4ddc37c app: enable previously disabled tests to see if they still fail 2023-03-27 11:08:56 -04:00
Jacob Boerema
d5535e3727 build, meson: fix headless tests not being run with meson 2023-03-26 12:34:26 -04:00
Jacob Boerema
98197e0caa build, meson: fix headless tests not being run with meson 2023-03-25 17:40:50 -04:00
3 changed files with 10 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ app_tests = [
'session-2-8-compatibility-multi-window',
'session-2-8-compatibility-single-window',
'single-window-mode',
# 'tools',
'tools',
'ui',
'xcf',
]
@@ -49,6 +49,7 @@ if cmd.returncode() != 0
error(cmd.stderr().strip())
endif
prio = 1000
foreach test_name : app_tests
test_exe = executable(test_name,
'test-@0@.c'.format(test_name),
@@ -67,6 +68,10 @@ foreach test_name : app_tests
],
suite: 'app',
timeout: 60,
is_parallel : false,
priority: prio,
)
prio = prio - 10
endforeach

View File

@@ -365,7 +365,7 @@ restore_recently_closed_multi_column_dock (gconstpointer data)
#ifdef __GNUC__
#warning FIXME test disabled until we depend on GTK+ >= 2.24.11
#endif
#if 0
#if 1
/* Restore the (only available) closed dock and make sure the session
* infos in the global dock factory are increased again
*/
@@ -618,7 +618,7 @@ repeatedly_switch_window_mode (gconstpointer data)
#ifdef __GNUC__
#warning FIXME: plesase fix repeatedly_switch_window_mode test
#endif
#if 0
#if 1
Gimp *gimp = GIMP (data);
GimpDisplay *display = GIMP_DISPLAY (gimp_get_empty_display (gimp));
GimpDisplayShell *shell = gimp_display_get_shell (display);
@@ -885,7 +885,7 @@ int main(int argc, char **argv)
ADD_TEST (tab_toggle_dont_change_dock_window_position);
ADD_TEST (switch_to_single_window_mode);
#warning FIXME: hide/show docks doesn't work when running make check
#if 0
#if 1
ADD_TEST (hide_docks_in_single_window_mode);
ADD_TEST (show_docks_in_single_window_mode);
#endif

View File

@@ -1198,6 +1198,7 @@ native_rsvg = dependency('librsvg-2.0', version: '>='+rsvg_minver, native: true)
xvfb_run = find_program('xvfb-run', required: get_option('headless-tests'))
dbus_run_session = find_program('dbus-run-session', required: get_option('headless-tests'))
if xvfb_run.found() and dbus_run_session.found()
conf.set('HAVE_XVFB_RUN', true)
add_test_setup('headless',
exe_wrapper: find_program('build' / 'meson' / 'run_test_env.sh'),
is_default: true,