Skip to content

Commit

Permalink
Update test script (#380)
Browse files Browse the repository at this point in the history
  • Loading branch information
John Luo authored Jul 9, 2019
1 parent d6c8349 commit 152255e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions build_and_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,13 @@ dotnet build

echo "Testing solution"

# Capturing test diagnostic logs because of hanging build
# https://github.com/grpc/grpc-dotnet/pull/363
dotnet test --no-build --diag:log.txt
test_projects=( $( ls test/**/*Tests.csproj ) )

for test_project in "${test_projects[@]}"
do
# Capturing test diagnostic logs because of hanging build
# https://github.com/grpc/grpc-dotnet/pull/363
dotnet test $test_project --no-build --diag:artifacts/${test_project##*/}.log.txt
done

echo "Finished"

0 comments on commit 152255e

Please sign in to comment.