buildDotnetModule: run tests on projectFile if testProjectFile is unset

This commit is contained in:
David McFarland
2022-12-19 15:36:25 -04:00
parent f6cb288fff
commit 62ecb39a1f
@@ -16,7 +16,7 @@ dotnetCheckHook() {
local -r maxCpuFlag="1"
fi
for project in ${testProjectFile[@]-}; do
for project in ${testProjectFile[@]-${projectFile[@]}}; do
env "LD_LIBRARY_PATH=@libraryPath@" \
dotnet test "$project" \
-maxcpucount:$maxCpuFlag \