swiftlang/swift-package-manager

dynamically generate flag expectations in tests

Open

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

在 GitHub 查看
 (6 留言) (0 反應) (0 負責人)Swift (10,145 star) (1,462 fork)batch import
enhancementgood first issue

描述

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.

貢獻者指南

dynamically generate flag expectations in tests · swiftlang/swift-package-manager#5474 | Good First Issue