swiftlang/swift-package-manager

dynamically generate flag expectations in tests

開放

#5,474 建立於 2022年5月7日

 (6 則留言) (0 個反應) (0 位負責人)Swift (1,462 個分叉)batch import
enhancementgood first issue

倉庫指標

星標
 (10,145 顆星)
PR 合併指標
 (平均合併 9天 4小時) (30 天內合併 62 個 PR)

描述

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.

貢獻者指南