parent
0c957b75c6
commit
2340fd3d8a
|
@ -181,6 +181,9 @@ def validate_install(srcdir, installdir):
|
||||||
# Check if there are any unexpected files
|
# Check if there are any unexpected files
|
||||||
found = get_relative_files_list_from_dir(installdir)
|
found = get_relative_files_list_from_dir(installdir)
|
||||||
for fname in found:
|
for fname in found:
|
||||||
|
# Windows-specific tests check for the existence of installed PDB
|
||||||
|
# files, but common tests do not, for obvious reasons. Ignore any
|
||||||
|
# extra PDB files found.
|
||||||
if fname not in expected and not fname.endswith('.pdb'):
|
if fname not in expected and not fname.endswith('.pdb'):
|
||||||
ret_msg += 'Extra file {0} found.\n'.format(fname)
|
ret_msg += 'Extra file {0} found.\n'.format(fname)
|
||||||
return ret_msg
|
return ret_msg
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
usr/bin/prog.exe
|
||||||
|
usr/bin/prog.pdb
|
|
@ -1,4 +1,4 @@
|
||||||
project('wintest', 'c')
|
project('wintest', 'c')
|
||||||
|
|
||||||
prog = executable('prog', 'prog.c')
|
prog = executable('prog', 'prog.c', install : true)
|
||||||
test('wintest', prog)
|
test('wintest', prog)
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
usr/bin/some-0.dll
|
usr/bin/some-0.dll
|
||||||
|
usr/bin/some-0.pdb
|
||||||
usr/lib/some.lib
|
usr/lib/some.lib
|
||||||
usr/bin/noversion.dll
|
usr/bin/noversion.dll
|
||||||
|
usr/bin/noversion.pdb
|
||||||
usr/lib/noversion.lib
|
usr/lib/noversion.lib
|
||||||
|
|
Loading…
Reference in New Issue