Files
codeql/swift/ql/integration-tests/autobuilder/xcode-fails-spm-works/test.py
Jeroen Ketema 2843761471 Swift: Special case the xcode-fails-spm-works test results on macOS 26
macOS 26 comes with Xcode 26, which does not call the compiler on the file
with the `#error` diagnostic directive.
2025-10-24 14:37:58 +02:00

10 lines
251 B
Python

import runs_on
import pytest
@runs_on.macos
@pytest.mark.ql_test("DB-CHECK", xfail=not runs_on.macos_26)
@pytest.mark.ql_test("*", expected=f"{'.macos_26' if runs_on.macos_26 else ''}.expected")
def test(codeql, swift):
codeql.database.create()