Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a few issues with merged wrappers uncovered by local testing (#67211
) After merging in the last preparatory change (deduplication of tests with the same assembly names) I'm now testing the "final" JIT/Methodical switchover change; this testing uncovered a few previously unseen issues related to the merged wrappers and I'm sending them for a separate PR to decouple them from the big mechanical switchover change. 1) For out-of-process tests, "Method" contains the relative test execution script path; we need to prefix the string with "@" to avoid complaining about backslashes on Windows. 2) Jeremy recently added a consistency check to catch multiple projects producing assemblies with the same simple name; turns out there was a subtle bug where the check blew up on projects with DisableProjectBuild set to true. 3) A similar problem exists for projects with the property CLRTestTargetUnsupported but I haven't added it to the fix; I believe it is healthy to receive this type of error in the build as with the merged wrappers the CLRTestTargetUnsupported clauses need to be removed and replaced with ConditionalFactAttribute annotations, otherwise we could lose part of the conditional code coverage as in the lab the managed tests are build only once on an arbitrary platform so their individual platform-specific exclusions must be postponed to execution time. Thanks Tomas
- Loading branch information