aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2020-02-17 00:42:08 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2020-02-22 06:49:34 +0530
commit7f1d78f30479170baa749e179c70e85a62250b0f (patch)
tree0eb8153caeca9b1b05ca9cabdc26a2b56703f3b6 /run_unittests.py
parentbe486a2ec84f22052fba5ba16de136de00379966 (diff)
downloadmeson-7f1d78f30479170baa749e179c70e85a62250b0f.zip
meson-7f1d78f30479170baa749e179c70e85a62250b0f.tar.gz
meson-7f1d78f30479170baa749e179c70e85a62250b0f.tar.bz2
tests: Ensure that executable and library are named differently
On Windows, the basename is used to determine the name of the PDB file. So for a project called myproject, we will create myproject.dll and myproject.exe, both of which will have myproject.pdb. This is a file collision. Instead, append `_test`, similar to the C# template. Fixes AllPlatformTest.test_templates on MSVC. This became a hard error when we started listing PDBs in the implicit outputs list of ninja targets. Do the same for a test that was making the same mistake.
Diffstat (limited to 'run_unittests.py')
0 files changed, 0 insertions, 0 deletions