From 4bf628ac122b5ccfad421efa31931ae240562d8c Mon Sep 17 00:00:00 2001 From: Jason Perkins Date: Sat, 19 Nov 2011 12:10:58 -0500 Subject: [PATCH] Fixed Xcode unit tests on non-Mac OSes --- tests/actions/xcode/test_xcode4_project.lua | 1 + tests/actions/xcode/test_xcode_common.lua | 2 +- tests/actions/xcode/test_xcode_project.lua | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/actions/xcode/test_xcode4_project.lua b/tests/actions/xcode/test_xcode4_project.lua index 30cda289..aa7224a2 100644 --- a/tests/actions/xcode/test_xcode4_project.lua +++ b/tests/actions/xcode/test_xcode4_project.lua @@ -16,6 +16,7 @@ local sln, tr function suite.setup() + _OS = "macosx" _ACTION = "xcode4" io.eol = "\n" xcode.used_ids = { } -- reset the list of generated IDs diff --git a/tests/actions/xcode/test_xcode_common.lua b/tests/actions/xcode/test_xcode_common.lua index 1af7fafc..1f7fa2a2 100644 --- a/tests/actions/xcode/test_xcode_common.lua +++ b/tests/actions/xcode/test_xcode_common.lua @@ -12,7 +12,7 @@ -- -- Replacement for xcode.newid(). Creates a synthetic ID based on the node name, --- it's intended usage (file ID, build ID, etc.) and its place in the tree. This +-- its intended usage (file ID, build ID, etc.) and its place in the tree. This -- makes it easier to tell if the right ID is being used in the right places. -- diff --git a/tests/actions/xcode/test_xcode_project.lua b/tests/actions/xcode/test_xcode_project.lua index 1ecde36a..93a3fe7a 100644 --- a/tests/actions/xcode/test_xcode_project.lua +++ b/tests/actions/xcode/test_xcode_project.lua @@ -16,6 +16,7 @@ local sln, tr function suite.setup() + _OS = "macosx" _ACTION = "xcode3" io.eol = "\n" xcode.used_ids = { } -- reset the list of generated IDs