From cca78ca1908ed07c3fd780b06c01608fd25acad0 Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Thu, 16 Nov 2023 19:05:59 +0100 Subject: [PATCH] C#: Fix the dotnet pack integration test. --- csharp/ql/integration-tests/all-platforms/dotnet_pack/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/csharp/ql/integration-tests/all-platforms/dotnet_pack/test.py b/csharp/ql/integration-tests/all-platforms/dotnet_pack/test.py index b91e73ef11c..258f5f3b764 100644 --- a/csharp/ql/integration-tests/all-platforms/dotnet_pack/test.py +++ b/csharp/ql/integration-tests/all-platforms/dotnet_pack/test.py @@ -2,10 +2,10 @@ import os from create_database_utils import * from diagnostics_test_utils import * -run_codeql_database_create(['dotnet pack'], db=None, lang="csharp") +run_codeql_database_create(['dotnet pack -o nugetpackage'], db=None, lang="csharp") ## Check that the NuGet package is created. -if not os.path.isfile("bin/Debug/dotnet_pack.1.0.0.nupkg"): +if not os.path.isfile("nugetpackage/dotnet_pack.1.0.0.nupkg"): raise Exception("The NuGet package was not created.") check_diagnostics()