Skip to content

Commit ff65ffa

Browse files
authored
Merge pull request github#14830 from aibaars/csharp/fixintegrationtests
C# fix integration tests
2 parents dce0356 + 97402fd commit ff65ffa

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

csharp/ql/integration-tests/all-platforms/dotnet_pack/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
from create_database_utils import *
33
from diagnostics_test_utils import *
44

5-
run_codeql_database_create(['dotnet pack'], db=None, lang="csharp")
5+
run_codeql_database_create(['dotnet pack -o nugetpackage'], db=None, lang="csharp")
66

77
## Check that the NuGet package is created.
8-
if not os.path.isfile("bin/Debug/dotnet_pack.1.0.0.nupkg"):
8+
if not os.path.isfile("nugetpackage/dotnet_pack.1.0.0.nupkg"):
99
raise Exception("The NuGet package was not created.")
1010

1111
check_diagnostics()

csharp/ql/integration-tests/posix-only/dotnet_test_mstest/dotnet_test_mstest.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
<IsPackable>false</IsPackable>
99
<OutputType>Exe</OutputType>
10+
<SelfContained>false</SelfContained>
1011
</PropertyGroup>
1112

1213
<ItemGroup>

0 commit comments

Comments
 (0)