From d6aceb1277606fe1f1688d40ee0895d0b89c6705 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Sun, 15 Nov 2020 14:17:27 -0600 Subject: Run unit tests in the build script. --- appveyor.cmd | 2 ++ appveyor.yml | 2 ++ .../WixToolset.BootstrapperCore.Native.proj | 2 +- src/engine/engine.vcxproj | 8 ++++---- src/engine/packages.config | 4 ++-- src/stub/packages.config | 4 ++-- src/stub/stub.vcxproj | 8 ++++---- src/test/BurnUnitTest/BurnUnitTest.vcxproj | 16 ++++++++-------- src/test/BurnUnitTest/packages.config | 7 ++++--- 9 files changed, 29 insertions(+), 24 deletions(-) diff --git a/appveyor.cmd b/appveyor.cmd index 48033840..82602274 100644 --- a/appveyor.cmd +++ b/appveyor.cmd @@ -3,6 +3,8 @@ nuget restore || exit /b +msbuild -t:Test -p:Configuration=Release src\test\BurnUnitTest || exit /b + msbuild -p:Configuration=Release;Platform=x86 || exit /b msbuild -p:Configuration=Release -t:Pack src\stub\stub.vcxproj || exit /b diff --git a/appveyor.yml b/appveyor.yml index 7c686b04..e4d25586 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -21,6 +21,8 @@ environment: build_script: - appveyor.cmd +test: off + pull_requests: do_not_increment_build_number: true diff --git a/src/WixToolset.BootstrapperCore.Native/WixToolset.BootstrapperCore.Native.proj b/src/WixToolset.BootstrapperCore.Native/WixToolset.BootstrapperCore.Native.proj index c0a99472..30b48b29 100644 --- a/src/WixToolset.BootstrapperCore.Native/WixToolset.BootstrapperCore.Native.proj +++ b/src/WixToolset.BootstrapperCore.Native/WixToolset.BootstrapperCore.Native.proj @@ -15,5 +15,5 @@ - + \ No newline at end of file diff --git a/src/engine/engine.vcxproj b/src/engine/engine.vcxproj index cec57540..84717941 100644 --- a/src/engine/engine.vcxproj +++ b/src/engine/engine.vcxproj @@ -2,7 +2,7 @@ - + @@ -167,12 +167,12 @@ rc.exe -fo "$(OutDir)engine.res" "$(IntDir)engine.messages.rc" - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + diff --git a/src/engine/packages.config b/src/engine/packages.config index 68222d34..dc425a64 100644 --- a/src/engine/packages.config +++ b/src/engine/packages.config @@ -1,5 +1,5 @@  - - + + \ No newline at end of file diff --git a/src/stub/packages.config b/src/stub/packages.config index 3ece6694..eb65b3b3 100644 --- a/src/stub/packages.config +++ b/src/stub/packages.config @@ -3,6 +3,6 @@ - - + + \ No newline at end of file diff --git a/src/stub/stub.vcxproj b/src/stub/stub.vcxproj index d3c1278c..42b614cd 100644 --- a/src/stub/stub.vcxproj +++ b/src/stub/stub.vcxproj @@ -5,7 +5,7 @@ - + @@ -50,7 +50,7 @@ - + @@ -106,7 +106,7 @@ - - + + \ No newline at end of file diff --git a/src/test/BurnUnitTest/BurnUnitTest.vcxproj b/src/test/BurnUnitTest/BurnUnitTest.vcxproj index cc19fa60..dde01be1 100644 --- a/src/test/BurnUnitTest/BurnUnitTest.vcxproj +++ b/src/test/BurnUnitTest/BurnUnitTest.vcxproj @@ -3,8 +3,8 @@ - - + + Debug @@ -63,23 +63,23 @@ - ..\..\..\packages\WixBuildTools.TestSupport.4.0.40\lib\net472\WixBuildTools.TestSupport.dll + ..\..\..\packages\WixBuildTools.TestSupport.4.0.47\lib\net472\WixBuildTools.TestSupport.dll - ..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.40\lib\net472\WixBuildTools.TestSupport.Native.dll + ..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.47\lib\net472\WixBuildTools.TestSupport.Native.dll - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - + + + diff --git a/src/test/BurnUnitTest/packages.config b/src/test/BurnUnitTest/packages.config index 74f2523f..472349e7 100644 --- a/src/test/BurnUnitTest/packages.config +++ b/src/test/BurnUnitTest/packages.config @@ -6,8 +6,9 @@ + - - - + + + \ No newline at end of file -- cgit v1.2.3-55-g6feb