swiftlang/swift-package-manager

dynamically generate flag expectations in tests

Open

#5 474 ouverte le 7 mai 2022

Voir sur GitHub
 (6 commentaires) (0 réactions) (0 assignés)Swift (1 462 forks)batch import
enhancementgood first issue

Métriques du dépôt

Stars
 (10 145 stars)
Métriques de merge PR
 (Merge moyen 9j 13h) (90 PRs mergées en 30 j)

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.

Guide contributeur