swiftlang/swift-package-manager

dynamically generate flag expectations in tests

Aperta

#5474 aperta il 7 mag 2022

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

Metriche repository

Star
 (10.145 stelle)
Metriche merge PR
 (Merge medio 9g 4h) (62 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