From 82a86229de6b571c89bfb4b67dffcf38e1fc1703 Mon Sep 17 00:00:00 2001 From: Liam Devine Date: Sat, 7 May 2011 02:30:28 +0100 Subject: Fixed bug 3297634 - UnitTest++ folder breaks Xcode 3 Xcode itself only quotes when it needs to yet it is fine to always quote the string. --- tests/actions/xcode/test_xcode_project.lua | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/actions/xcode/test_xcode_project.lua b/tests/actions/xcode/test_xcode_project.lua index d667bd1..91a83d1 100644 --- a/tests/actions/xcode/test_xcode_project.lua +++ b/tests/actions/xcode/test_xcode_project.lua @@ -359,7 +359,7 @@ [premake] /* premake */, ); name = "include"; - path = include; + path = "include"; sourceTree = ""; }; [premake] /* premake */ = { @@ -368,13 +368,20 @@ [source.h] /* source.h */, ); name = "premake"; - path = premake; + path = "premake"; sourceTree = ""; }; ]] end + function suite.PBXGroup_pathHasPlusPlus_PathIsQuoted() + files { "RequiresQuoting++/h.h" } + prepare() + xcode.PBXGroup(tr) + test.string_contains( io.endcapture(),'path = "RequiresQuoting%+%+";' ) + end + function suite.PBXGroup_SortsFiles() files { "test.h", "source.h", "source.cpp" } prepare() -- cgit v1.2.3