swiftlang/swift-package-manager

dynamically generate flag expectations in tests

Open

#5.474 aberto em 7 de mai. de 2022

Ver no GitHub
 (6 comments) (0 reactions) (0 assignees)Swift (1.462 forks)batch import
enhancementgood first issue

Métricas do repositório

Stars
 (10.145 stars)
Métricas de merge de PR
 (Mesclagem média 9d 13h) (90 fundiu PRs em 30d)

Description

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.

Guia do colaborador