Re: meson build port



Hi!

Am Freitag, den 30.06.2017, 11:54 +0200 schrieb Iñigo Martínez:
An initiative has recently emerged to port applications under GNOME
umbrella to meson build system[0]. I have spent some time porting Eye
of GNOME to meson and I have published a bug for it[1]. However,
during meson build port testing, I tried to execute its tests[2], but
I haven't been able to do.

My steps are as follow:

1. I install the build on a specific directory, let's say: /tmp/eog
2. Tests are installed in /tmp/eog/shared/installed-tests/eog, so I
execute the following command:

   gnome-desktop-testing-runner -d /tmp/eog/share/installed-
tests/eog/

I get the following:

  SUMMARY: total=0; passed=0; skipped=0; failed=0; user=0.0s;
system=0.0s; maxrss=0

I never used these kind of tests, though, I have reading about
them[3]. Is there any specific way to execute them?

I think you just need to start it like this:

gnome-desktop-testing-runner -d /tmp/eog/share eog

It'll append installed-tests itself and mentioning eog will filter the
tests to only run eog's.

You may need to add LC_ALL=C to disable translations. However I don't
think they'll pass. Some tests need updating to work with a recent
GtkFileChooser for example. The about test will fail if your session is
not in English as it can't find the app menu, since gnome-shell will
translate its title.

Regards,

Felix


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]