• Chun-wei Fan's avatar
    gi-test: Fix gir file tests · dac89688
    Chun-wei Fan authored
    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.
    dac89688
Name
Last commit
Last update
.gitlab-ci Loading commit data...
docs Loading commit data...
examples Loading commit data...
gir Loading commit data...
girepository Loading commit data...
giscanner Loading commit data...
m4 Loading commit data...
misc Loading commit data...
subprojects Loading commit data...
tests Loading commit data...
tools Loading commit data...
.flake8 Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
COPYING Loading commit data...
COPYING.GPL Loading commit data...
COPYING.LGPL Loading commit data...
HACKING Loading commit data...
MSVC.README.rst Loading commit data...
Makefile.introspection Loading commit data...
NEWS Loading commit data...
README.rst Loading commit data...
TODO Loading commit data...
gobject-introspection-1.0.pc.in Loading commit data...
gobject-introspection-no-export-1.0.pc.in Loading commit data...
gobject-introspection.doap Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...