File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
csharp/ql/integration-tests/all-platforms Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1+ import os
2+
13def check_build_out (msg , s ):
4+ lines = s .splitlines ()
5+ lines = s .splitlines ()
26 assert (
3- "[build-stdout] " + msg in s
7+ any (( "[build-stdout]" in line ) and ( msg in line ) for line in lines )
48 ), f"The C# tracer did not interpret the dotnet path-to-application command correctly."
59
6-
710def test1 (codeql , csharp ):
811 codeql .database .create (command = "dotnet build" )
912
Original file line number Diff line number Diff line change 11def check_build_out (msg , s ):
2+ lines = s .splitlines ()
23 assert (
3- "[build-stdout] " + msg in s
4+ any (( "[build-stdout]" in line ) and ( msg in line ) for line in lines )
45 ), "The C# tracer did not interpret the 'dotnet run' command correctly"
56
6-
77# no arguments
88def test_no_args (codeql , csharp ):
99 s = codeql .database .create (command = "dotnet run" , _capture = "stdout" )
You can’t perform that action at this time.
0 commit comments