app: on make check, search menu XML files in both buildir and srcdir
Turn GIMP_TESTING_MENUS_DIR into GIMP_TESTING_MENUS_PATH and look in
all its dirs for the menu file.
(cherry picked from commit 8516aedade
)
This commit is contained in:
@ -468,7 +468,7 @@ int main(int argc, char **argv)
|
||||
|
||||
gimp_test_utils_set_gimp2_directory ("GIMP_TESTING_ABS_TOP_SRCDIR",
|
||||
"app/tests/gimpdir");
|
||||
gimp_test_utils_setup_menus_dir ();
|
||||
gimp_test_utils_setup_menus_path ();
|
||||
|
||||
/* Start up GIMP */
|
||||
gimp = gimp_init_for_gui_testing (TRUE /*show_gui*/);
|
||||
|
Reference in New Issue
Block a user