C#: Add integration test for dotnet dotnet.

This commit is contained in:
Michael Nebel
2023-09-14 14:59:49 +02:00
parent 8768b9e3dd
commit e577fb68bd

View File

@@ -58,3 +58,8 @@ check_diagnostics(test_db="test8-db")
s = run_codeql_database_create_stdout(['dotnet clean', 'rm -rf test8-db', 'dotnet run "hello world part1" part2'], "test9-db")
check_build_out("hello world part1, part2", s)
check_diagnostics(test_db="test9-db")
# two arguments, no '--' (second argument quoted) and using dotnet to execute dotnet
s = run_codeql_database_create_stdout(['dotnet clean', 'rm -rf test9-db', 'dotnet dotnet run part1 "hello world part2"'], "test10-db")
check_build_out("part1, hello world part2", s)
check_diagnostics(test_db="test10-db")