Install files from the test added in 2ff69b20 to make sure it runs

and make the test runnable :)
pull/4475/head
Jon Turney 6 years ago committed by Jussi Pakkanen
parent 42cdb32033
commit a562b08ae1
  1. 6
      test cases/frameworks/6 gettext/generated/desktopgenerator.py
  2. 2
      test cases/frameworks/6 gettext/generated/meson.build
  3. 1
      test cases/frameworks/6 gettext/installed_files.txt

@ -5,5 +5,9 @@ import os, sys, shutil
ifile = sys.argv[1] ifile = sys.argv[1]
ofile = sys.argv[2] ofile = sys.argv[2]
os.unlink(ofile) try:
os.unlink(ofile)
except FileNotFoundError:
pass
shutil.copy(ifile, ofile) shutil.copy(ifile, ofile)

@ -11,4 +11,6 @@ i18n.merge_file(
output : 'something.desktop', output : 'something.desktop',
type : 'desktop', type : 'desktop',
po_dir : '../po', po_dir : '../po',
install: true,
install_dir: join_paths(get_option('datadir'), 'applications'),
) )

@ -1,6 +1,7 @@
usr/bin/intlprog?exe usr/bin/intlprog?exe
usr/share/locale/de/LC_MESSAGES/intltest.mo usr/share/locale/de/LC_MESSAGES/intltest.mo
usr/share/locale/fi/LC_MESSAGES/intltest.mo usr/share/locale/fi/LC_MESSAGES/intltest.mo
usr/share/applications/something.desktop
usr/share/applications/test.desktop usr/share/applications/test.desktop
usr/share/applications/test2.desktop usr/share/applications/test2.desktop
usr/share/applications/test3.desktop usr/share/applications/test3.desktop

Loading…
Cancel
Save