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:
authorliamDevine <none@none>2010-11-02 01:30:31 +0300
committerliamDevine <none@none>2010-11-02 01:30:31 +0300
commit4f9490a79921af195acedbd81d8ba126a07ec77b (patch)
tree8c052f1429d121fb8b8ad087e9d48f94965a4a0f /tests
parent2fdf025c524c65ad7c9b6774583350b84b8012c0 (diff)
Vs10 implementing NoLinkIncrementally flag.
This changes the behaviour that was the previous. Previously it could be set to true, false or omitted all together, now it is either true or false; was this wanted?
Diffstat (limited to 'tests')
-rw-r--r--tests/actions/vstudio/test_vs2010_flags.lua8
-rw-r--r--tests/actions/vstudio/test_vs2010_project_kinds.lua4
2 files changed, 10 insertions, 2 deletions
diff --git a/tests/actions/vstudio/test_vs2010_flags.lua b/tests/actions/vstudio/test_vs2010_flags.lua
index 7e0a032..c1a7b56 100644
--- a/tests/actions/vstudio/test_vs2010_flags.lua
+++ b/tests/actions/vstudio/test_vs2010_flags.lua
@@ -254,6 +254,12 @@ function vs10_flags.symbols_bufferContainsprogramDataBaseFile()
local buffer = get_buffer()
test.string_contains(buffer,'<Link>.*<ProgramDataBaseFileName>%$%(OutDir%)MyProject%.pdb</ProgramDataBaseFileName>.*</Link>')
end
-
+
+function vs10_flags.noIncrementalLink_linkIncrementSetToFalse()
+ flags{"NoIncrementalLink"}
+ local buffer = get_buffer()
+ test.string_contains(buffer,'<LinkIncremental.*false</LinkIncremental>')
+end
+
diff --git a/tests/actions/vstudio/test_vs2010_project_kinds.lua b/tests/actions/vstudio/test_vs2010_project_kinds.lua
index a268da2..5cf95b3 100644
--- a/tests/actions/vstudio/test_vs2010_project_kinds.lua
+++ b/tests/actions/vstudio/test_vs2010_project_kinds.lua
@@ -124,13 +124,15 @@ shared lib missing <ImportLibrary>???</ImportLibrary> in link section when noIn
test.string_contains(buffer,'<PropertyGroup>.*<IgnoreImportLibrary.*true</IgnoreImportLibrary>.*</PropertyGroup>')
end
- --shared lib LinkIncremental set to incorrect value of false
+ --behaviour changed so that is is set one way or the other
+ --[[
function vs10_project_kinds.staticLib_doesNotContainLinkIncremental()
kind "StaticLib"
flags {"Symbols"}
local buffer = get_buffer()
test.string_does_not_contain(buffer,'<LinkIncremental.*</LinkIncremental>')
end
+ --]]
function vs10_project_kinds.sharedLib_withoutOptimisation_linkIncrementalValueIsTrue()
kind "SharedLib"