diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2019-04-30 17:46:54 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2019-05-02 17:00:49 +0800 |
commit | dac89688b7f2c4caf466772125f6a00a668600bd (patch) | |
tree | d3a447a2a506180cc84ada394b9db7d47dec81de /COPYING.GPL | |
parent | 26f542484ebe88ef231ff36e8853f806dd7ecfd3 (diff) | |
download | gobject-introspection-dac89688b7f2c4caf466772125f6a00a668600bd.tar.gz |
gi-test: Fix gir file tests
Meson unfortunately does not normalize the paths for us, so we couldn't
just rely on it to give us the correct target name without the full
target path when the path separator is not '/' (such as on Visual Studio
builds, where the path separator is '\\' (with escape character).
This means that, that on Visual Studio builds, targetname would be:
D:\\gi.build\\tests\\scanner\\Typedefs-1.0.gir
instead of:
Typedefs-1.0.gir
Since we have the targetbase variable which actually has the correct
info we need, use that to deduce the correct reference .gir file to
compare to.
Diffstat (limited to 'COPYING.GPL')
0 files changed, 0 insertions, 0 deletions