Skip to content

Conversation

mklemarczyk
Copy link
Contributor

@mklemarczyk mklemarczyk commented Jun 20, 2022

The PR is to handle discovery of PDB files for project build externally (Cloud build, Cluster build, Remote build).
Therefore the path mostly will not match with original build location and the PDB file should be detected by looking in the same directory as module file.

The issue is reproduced with new unit test.

The PR solves the issue #1353

…ed but not provided. PDB file usually is located next to the module file in the same directory.
@dnfadmin
Copy link

dnfadmin commented Jun 20, 2022

CLA assistant check
All CLA requirements met.

@MarcoRossignoli
Copy link
Collaborator

Tests are broken in some legs can you take a look?

@mklemarczyk
Copy link
Contributor Author

It is due to mixed paths (windows + linux).

The tests for linux and ios will need to be skipped or the other compiled dll added to Test Assets. What do you prefer?

@MarcoRossignoli
Copy link
Collaborator

MarcoRossignoli commented Jun 26, 2022

I think it's enough to skip, update is file system based and should be enough test on one

@mklemarczyk
Copy link
Contributor Author

I found the way to update solution to not limit potential cross-platform usage. I reused previously computed pdb name.

@mklemarczyk mklemarczyk force-pushed the feature/DiscoveryOfPdbFileForExternalBuild branch from 022e823 to 078a933 Compare June 26, 2022 11:19
… Path does not handle environment change into account. Meaning that when moved from Windows to Unix, the Path class does not understand the file path anymore.
@mklemarczyk mklemarczyk force-pushed the feature/DiscoveryOfPdbFileForExternalBuild branch from 078a933 to b1f55b1 Compare June 26, 2022 11:20
@MarcoRossignoli MarcoRossignoli merged commit 1e85144 into coverlet-coverage:master Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants