Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorOliver Schneider <oliver@assarbad.net>2022-01-23 03:21:28 +0300
committerOliver Schneider <oliver@assarbad.net>2022-01-23 03:21:28 +0300
commit2d36609e8ab587519f30e7adfeae85801815a154 (patch)
tree35ec9d06ec077e6bf718457f2047ce2d1496e02d /tests
parentd49d821dc0340c412e1d0f9fd02cd82ffd3613f4 (diff)
Arranging for VS2022 support
--HG-- branch : WDS-build
Diffstat (limited to 'tests')
-rwxr-xr-xtests/actions/vstudio/sln2005/header.lua17
-rw-r--r--tests/actions/vstudio/vc2010/test_config_props.lua13
2 files changed, 30 insertions, 0 deletions
diff --git a/tests/actions/vstudio/sln2005/header.lua b/tests/actions/vstudio/sln2005/header.lua
index 240889d..61aae75 100755
--- a/tests/actions/vstudio/sln2005/header.lua
+++ b/tests/actions/vstudio/sln2005/header.lua
@@ -136,3 +136,20 @@ MinimumVisualStudioVersion = 10.0.40219.1
which don't seem to be mandatory, though.
]]
end
+
+ function suite.On2022()
+ _ACTION = "vs2022"
+ prepare()
+ test.capture [[
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 17
+ ]]
+--[[
+VS 2022 seems to add something like:
+
+VisualStudioVersion = 17.0.0.0
+MinimumVisualStudioVersion = 10.0.40219.1
+
+which don't seem to be mandatory, though.
+]]
+ end
diff --git a/tests/actions/vstudio/vc2010/test_config_props.lua b/tests/actions/vstudio/vc2010/test_config_props.lua
index b1b19ff..a5b05e1 100644
--- a/tests/actions/vstudio/vc2010/test_config_props.lua
+++ b/tests/actions/vstudio/vc2010/test_config_props.lua
@@ -115,3 +115,16 @@
</PropertyGroup>
]]
end
+
+ function suite.structureIsCorrect_onDefaultValues_on2022()
+ _ACTION = "vs2022"
+ prepare()
+ test.capture [[
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v143</PlatformToolset>
+ </PropertyGroup>
+ ]]
+ end