aboutsummaryrefslogtreecommitdiff
path: root/src/libs/libs.cmd
diff options
context:
space:
mode:
authorBob Arnson <bob@firegiant.com>2025-06-11 22:37:39 -0400
committerBob Arnson <bob@firegiant.com>2025-06-11 22:46:10 -0400
commit09209f98a2951a56c0bd6ac0100a0d6eeb02e3d7 (patch)
tree585b9df56e9bf1c3e213e35605c9fc6522268260 /src/libs/libs.cmd
parentccf2b7bf8b60dbb4ece85167ff1f1c6564fc5b6c (diff)
downloadwix-bob/PayloadsHarvesting.tar.gz
wix-bob/PayloadsHarvesting.tar.bz2
wix-bob/PayloadsHarvesting.zip
Fix unit tests to account for Actions runners:bob/PayloadsHarvesting
- Handle extra-long paths being normalized to either \\?\\ and "normal." - Rewrite PathGetTempPathTest test because it's not a good test: - By overwriting `TMP` with an extra-long path, it causes `::GetTempPath[2]W` to fall back to the value of `TEMP` instead. - But that's testing `::GetTempPath[2]W`, not `PathGetTempPath`. - It also assumes `TMP` and `TEMP` are set typically. - It also assumes it's not running as LocalSystem. - Instead, just compare the values you get from `::GetTempPathW` and `PathGetTempPath`. Fixes https://github.com/wixtoolset/issues/issues/9087
Diffstat (limited to 'src/libs/libs.cmd')
-rw-r--r--src/libs/libs.cmd1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/libs.cmd b/src/libs/libs.cmd
index d8b81f54..acf5ff55 100644
--- a/src/libs/libs.cmd
+++ b/src/libs/libs.cmd
@@ -22,6 +22,7 @@
22msbuild -Restore libs_t.proj -p:Configuration=%_C% -tl -nologo -m -warnaserror -bl:%_L%\libs_build.binlog || exit /b 22msbuild -Restore libs_t.proj -p:Configuration=%_C% -tl -nologo -m -warnaserror -bl:%_L%\libs_build.binlog || exit /b
23 23
24dotnet test ^ 24dotnet test ^
25 --results-directory %_L%\TestResults --blame-hang-timeout 1min --blame-hang-dump-type mini -l:"console;verbosity=detailed" ^
25 %_B%\net6.0\WixToolsetTest.Versioning.dll ^ 26 %_B%\net6.0\WixToolsetTest.Versioning.dll ^
26 %_B%\x86\DUtilUnitTest.dll ^ 27 %_B%\x86\DUtilUnitTest.dll ^
27 %_B%\x64\DUtilUnitTest.dll ^ 28 %_B%\x64\DUtilUnitTest.dll ^