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