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>2019-10-15 22:27:18 +0300
committerOliver Schneider <oliver@assarbad.net>2019-10-15 22:27:18 +0300
commitea91d324ccf8c19b3669533d8f381db0f5cb9734 (patch)
tree0ea8741503cddf83dcc88c19d6de291cee9a5384 /tests
parent867b97e99bb48724d3c7efbe429f5e6509700b80 (diff)
Arranging for VS2019 support
--HG-- branch : vs2019_support
Diffstat (limited to 'tests')
-rwxr-xr-xtests/actions/vstudio/sln2005/header.lua23
-rw-r--r--tests/actions/vstudio/vc2010/test_config_props.lua13
2 files changed, 33 insertions, 3 deletions
diff --git a/tests/actions/vstudio/sln2005/header.lua b/tests/actions/vstudio/sln2005/header.lua
index 2208b42..240889d 100755
--- a/tests/actions/vstudio/sln2005/header.lua
+++ b/tests/actions/vstudio/sln2005/header.lua
@@ -77,7 +77,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
]]
--[[
-VS 2013 seems to add:
+VS 2013 seems to add something like:
VisualStudioVersion = 12.0.31101.0
MinimumVisualStudioVersion = 10.0.40219.1
@@ -94,7 +94,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
]]
--[[
-VS 2015 seems to add:
+VS 2015 seems to add something like:
VisualStudioVersion = 14.0.23107.0
MinimumVisualStudioVersion = 10.0.40219.1
@@ -111,7 +111,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
]]
--[[
-VS 2017 seems to add:
+VS 2017 seems to add something like:
VisualStudioVersion = 15.0.26228.4
MinimumVisualStudioVersion = 10.0.40219.1
@@ -119,3 +119,20 @@ MinimumVisualStudioVersion = 10.0.40219.1
which don't seem to be mandatory, though.
]]
end
+
+ function suite.On2019()
+ _ACTION = "vs2019"
+ prepare()
+ test.capture [[
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 16
+ ]]
+--[[
+VS 2019 seems to add something like:
+
+VisualStudioVersion = 16.0.29411.108
+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 d2f18dd..b1b19ff 100644
--- a/tests/actions/vstudio/vc2010/test_config_props.lua
+++ b/tests/actions/vstudio/vc2010/test_config_props.lua
@@ -102,3 +102,16 @@
</PropertyGroup>
]]
end
+
+ function suite.structureIsCorrect_onDefaultValues_on2019()
+ _ACTION = "vs2019"
+ prepare()
+ test.capture [[
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v142</PlatformToolset>
+ </PropertyGroup>
+ ]]
+ end