Skip to content

Commit 76abf6f

Browse files
committed
C#: Add another dotnet run integration test
1 parent 0183090 commit 76abf6f

File tree

1 file changed

+4
-0
lines changed
  • csharp/ql/integration-tests/all-platforms/dotnet_run

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,7 @@ def check_build_out(msg, s):
4141
# to `dotnet run -p:UseSharedCompilation=true -p:UseSharedCompilation=false -- hello world`
4242
s = run_codeql_database_create_stdout(['dotnet clean', 'rm -rf test6-db', 'dotnet run -p:UseSharedCompilation=true -- hello world'], "test7-db")
4343
check_build_out("hello, world", s)
44+
45+
# option passed into `dotnet run`
46+
s = run_codeql_database_create_stdout(['dotnet clean', 'rm -rf test7-db', 'dotnet build', 'dotnet run --no-build hello world'], "test8-db")
47+
check_build_out("hello, world", s)

0 commit comments

Comments
 (0)