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:
authordev@Rose-PC.cable.virginmedia.net <dev@Rose-PC.cable.virginmedia.net>2011-04-29 05:07:38 +0400
committerdev@Rose-PC.cable.virginmedia.net <dev@Rose-PC.cable.virginmedia.net>2011-04-29 05:07:38 +0400
commitaa85185a84552dfb148acbe925bc0cf7a8dc27a3 (patch)
treeb5d982abdb3c22fc5b3da86f868dea7eda87ac47 /tests
parentb5fb32446ca74fdef8b119a7235da821ca3adab8 (diff)
Fixes Bug 3294459: vs10 x86_64 using incorrect debug format for minimal rebuild
there is not an option for setting /Z7 OldStyle so OldStyle was removed /ZI is not compatible with /clr or x64_64 minimal Rebuild requires /Zi in x86_64
Diffstat (limited to 'tests')
-rw-r--r--tests/actions/vstudio/test_vs2010_flags.lua27
1 files changed, 19 insertions, 8 deletions
diff --git a/tests/actions/vstudio/test_vs2010_flags.lua b/tests/actions/vstudio/test_vs2010_flags.lua
index 97057e9..15c493a 100644
--- a/tests/actions/vstudio/test_vs2010_flags.lua
+++ b/tests/actions/vstudio/test_vs2010_flags.lua
@@ -206,13 +206,24 @@ function vs10_flags.mfc_useOfMfc_setToStatic()
test.string_contains(buffer,'<UseOfMfc>Dynamic</UseOfMfc>')
end
-function vs10_flags.Symbols_DebugInformationFormat_setToEditAndContinue()
+--there is not an option for /Z7 OldStyle
+--/ZI is not compatible with /clr or x64_64
+--minimal Rebuild requires /Zi in x86_64
+
+function vs10_flags.symbols_32BitBuild_DebugInformationFormat_setToEditAndContinue()
flags{"Symbols"}
-
+ platforms{'x32'}
local buffer = get_buffer()
test.string_contains(buffer,'<DebugInformationFormat>EditAndContinue</DebugInformationFormat>')
end
+function vs10_flags.symbols_64BitBuild_DebugInformationFormat_setToProgramDatabase()
+ flags{"Symbols"}
+ platforms{"x64"}
+ local buffer = get_buffer()
+ test.string_contains(buffer,'<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>')
+end
+
function vs10_flags.symbolsAndNoEditAndContinue_DebugInformationFormat_setToProgramDatabase()
flags{"Symbols","NoEditAndContinue"}
@@ -226,16 +237,16 @@ function vs10_flags.symbolsAndRelease_DebugInformationFormat_setToProgramDatabas
local buffer = get_buffer()
test.string_contains(buffer,'<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>')
end
-function vs10_flags.noSymbols_DebugInformationFormat_blockIsEmpty()
+
+function vs10_flags.symbolsManaged_DebugInformationFormat_setToProgramDatabase()
+ flags{"Symbols","Managed"}
local buffer = get_buffer()
- test.string_contains(buffer,'<DebugInformationFormat></DebugInformationFormat>')
+ test.string_contains(buffer,'<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>')
end
-function vs10_flags.symbols_64BitBuild_DebugInformationFormat_setToOldStyle()
- flags{"Symbols"}
- platforms{"x64"}
+function vs10_flags.noSymbols_DebugInformationFormat_blockIsEmpty()
local buffer = get_buffer()
- test.string_contains(buffer,'<DebugInformationFormat>OldStyle</DebugInformationFormat>')
+ test.string_contains(buffer,'<DebugInformationFormat></DebugInformationFormat>')
end
function vs10_flags.noManifest_GenerateManifest_setToFalse()