swiftlang/swift-package-manager

dynamically generate flag expectations in tests

Open

#5474 aperta il 7 mag 2022

Vedi su GitHub
 (6 commenti) (0 reazioni) (0 assegnatari)Swift (1462 fork)batch import
enhancementgood first issue

Metriche repository

Star
 (10.145 star)
Metriche merge PR
 (Merge medio 9g 13h) (90 PR mergiate in 30 g)

Descrizione

Many of the tests are currently statically generating the flags for expectations in BuildPlanTests.swift based upon #if os which changes behaviour based on the OS rather than the target. This can cause subtle bugs to arise. We should dynamically compute the arguments.

Guida contributor