swiftlang/swift-package-manager

dynamically generate flag expectations in tests

Open

#5,474 opened on 2022年5月7日

GitHub で見る
 (6 comments) (0 reactions) (0 assignees)Swift (1,462 forks)batch import
enhancementgood first issue

Repository metrics

Stars
 (10,145 stars)
PR merge metrics
 (平均マージ 9d 4h) (30d で 62 merged PRs)

説明

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.

コントリビューターガイド