tests: Don't expect any *.pdb files installed in 'lib'

Static libraries don't have PDB files. A PDB that would previously end
up installed alongside a static library belonged in fact to the dynamic
version of the same library built at the same time.

This was because the former minstall.Installer implementation, when
installing a file target, also blindly copied any *.pdb file it found
whose filename was matching the target. So, for example installing
foo.dll and foo.a would also install two copies of foo.pdb into both
bin/ and lib/, which doesn't seem like the right thing to do - foo.pdb
should only get installed with foo.dll.
pull/5907/head
Jakub Adam 5 years ago
parent 1bf1782476
commit 9c456e2baf
  1. 3
      test cases/common/206 install name_prefix name_suffix/installed_files.txt
  2. 1
      test cases/d/5 mixed/installed_files.txt
  3. 1
      test cases/windows/7 dll versioning/installed_files.txt

@ -1,9 +1,6 @@
?msvc:usr/bin/baz.pdb
?msvc:usr/bin/bowcorge.pdb
?msvc:usr/bin/foo.pdb
?msvc:usr/lib/baz.pdb
?msvc:usr/lib/bowcorge.pdb
?msvc:usr/lib/foo.pdb
usr/?lib/bowcorge.stern
usr/lib/?libbaz.cheese
usr/lib/bar.a

@ -5,4 +5,3 @@ usr/lib/libstuff.a
?msvc:usr/bin/stuff.dll
?msvc:usr/bin/stuff.pdb
?msvc:usr/lib/stuff.lib
?msvc:usr/lib/stuff.pdb

@ -4,7 +4,6 @@
?msvc:usr/bin/noversion.dll
?msvc:usr/bin/noversion.pdb
?msvc:usr/lib/noversion.lib
?msvc:usr/lib/noversion.pdb
?msvc:usr/bin/onlyversion-1.dll
?msvc:usr/bin/onlyversion-1.pdb
?msvc:usr/lib/onlyversion.lib

Loading…
Cancel
Save