diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2019-11-01 15:20:47 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2019-11-01 15:20:47 +0000 |
commit | 48cc26246f0b6bbc6d58d82831129560bff412cc (patch) | |
tree | 1ff29108d3970752dd87a622f5f9774a692dd219 | |
parent | 4b41dd4eb11ed1f444830719c7dc0f540d0652bc (diff) | |
download | gtk+-48cc26246f0b6bbc6d58d82831129560bff412cc.tar.gz |
Check for diff's availability
The tests suite calls `diff` in various places, which means we need to
check if it's installed.
-rw-r--r-- | testsuite/meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/meson.build b/testsuite/meson.build index 10dabd8152..bb7c8160f4 100644 --- a/testsuite/meson.build +++ b/testsuite/meson.build @@ -2,6 +2,10 @@ gtk_libexecdir = join_paths(gtk_prefix, get_option('libexecdir')) installed_test_bindir = join_paths(gtk_libexecdir, 'installed-tests', 'gtk-4.0') installed_test_datadir = join_paths(gtk_datadir, 'installed-tests', 'gtk-4.0') +# We call diff in various tests, so we need to check it's available, +# otherwise we're going to have failures down the line +diff = find_program('diff', required: true) + subdir('gdk') subdir('gsk') subdir('gtk') |