ladybird/Tests/Resources/SwiftTestMain.swift
Andrew Kaster 782926601d Tests: Convert Swift tests to use Testing module where possible
The AK tests can't seem to use it because it crashes the frontend :)
2024-08-28 21:27:35 -06:00

16 lines
467 B
Swift

/*
* Copyright (c) 2024, Andrew Kaster <andrew@ladybird.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
// FIXME: This file is intended to become redundant as swift-testing stabilizes
// See https://github.com/swiftlang/swift-testing/blob/133e30231c4583b02ab3ea2a7f678f3d7f4f8a3d/Documentation/CMake.md#add-an-entry-point
import Testing
@main struct Runner {
static func main() async {
await Testing.__swiftPMEntryPoint() as Never
}
}