mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
macOS 26 comes with Xcode 26, which does not call the compiler on the file with the `#error` diagnostic directive.
10 lines
251 B
Python
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()
|