Skip to content

Commit 16e19a6

Browse files
committed
Port missing test.
1 parent a38b6ab commit 16e19a6

File tree

1 file changed

+5
-3
lines changed
  • csharp/ql/integration-tests/all-platforms/conditional_compilation

1 file changed

+5
-3
lines changed
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
from create_database_utils import *
21
import os
32

4-
os.environ["CODEQL_EXTRACTOR_CSHARP_OPTION_TRAP_COMPRESSION"] = "none"
53

6-
run_codeql_database_create(['dotnet build /p:DefineConstants=A', 'dotnet build /p:DefineConstants=B'], lang="csharp")
4+
def test(codeql, csharp):
5+
os.environ["CODEQL_EXTRACTOR_CSHARP_OPTION_TRAP_COMPRESSION"] = "none"
6+
codeql.database.create(
7+
command=["dotnet build /p:DefineConstants=A", "dotnet build /p:DefineConstants=B"]
8+
)

0 commit comments

Comments
 (0)