diff options
Diffstat (limited to 'tests/actions/vstudio/sln2005/platforms.lua')
-rwxr-xr-x | tests/actions/vstudio/sln2005/platforms.lua | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/tests/actions/vstudio/sln2005/platforms.lua b/tests/actions/vstudio/sln2005/platforms.lua index 82aa9d1..5cecf14 100755 --- a/tests/actions/vstudio/sln2005/platforms.lua +++ b/tests/actions/vstudio/sln2005/platforms.lua @@ -21,7 +21,7 @@ local function prepare(language)
prj.language = language
- premake.buildconfigs()
+ premake.bake.buildconfigs()
sln.vstudio_configs = premake.vstudio.buildconfigs(sln)
sln2005.platforms(sln)
end
@@ -80,22 +80,22 @@ --
-- Mixed language tests
--
- - function suite.On2005_MixedLanguages() - _ACTION = "vs2005" +
+ function suite.On2005_MixedLanguages()
+ _ACTION = "vs2005"
test.createproject(sln)
prepare("C#")
- test.capture [[ - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|Mixed Platforms = Debug|Mixed Platforms - Debug|Win32 = Debug|Win32 - Release|Any CPU = Release|Any CPU - Release|Mixed Platforms = Release|Mixed Platforms - Release|Win32 = Release|Win32 - EndGlobalSection - ]] - end + test.capture [[
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Debug|Mixed Platforms = Debug|Mixed Platforms
+ Debug|Win32 = Debug|Win32
+ Release|Any CPU = Release|Any CPU
+ Release|Mixed Platforms = Release|Mixed Platforms
+ Release|Win32 = Release|Win32
+ EndGlobalSection
+ ]]
+ end
function suite.On2010_MixedLanguages()
@@ -114,22 +114,22 @@ ]]
end
- --- --- Test multiple platforms --- - - function suite.On2005_MixedPlatforms() - _ACTION = "vs2005" - platforms { "x32", "x64" } - prepare("C++") - test.capture [[ - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - ]] - end - +
+--
+-- Test multiple platforms
+--
+
+ function suite.On2005_MixedPlatforms()
+ _ACTION = "vs2005"
+ platforms { "x32", "x64" }
+ prepare("C++")
+ test.capture [[
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Debug|x64 = Debug|x64
+ Release|Win32 = Release|Win32
+ Release|x64 = Release|x64
+ EndGlobalSection
+ ]]
+ end
+
|