Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJason Perkins <starkos@industriousone.com>2011-11-19 21:10:58 +0400
committerJason Perkins <starkos@industriousone.com>2011-11-19 21:10:58 +0400
commit4bf628ac122b5ccfad421efa31931ae240562d8c (patch)
treed7d3e51d79c21410a49666ec60ede5fcbbc18f44 /tests
parentde768084f168201919c55fdb60fe90dc1912a125 (diff)
Fixed Xcode unit tests on non-Mac OSes
Diffstat (limited to 'tests')
-rw-r--r--tests/actions/xcode/test_xcode4_project.lua1
-rw-r--r--tests/actions/xcode/test_xcode_common.lua2
-rw-r--r--tests/actions/xcode/test_xcode_project.lua1
3 files changed, 3 insertions, 1 deletions
diff --git a/tests/actions/xcode/test_xcode4_project.lua b/tests/actions/xcode/test_xcode4_project.lua
index 30cda28..aa7224a 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 1af7faf..1f7fa2a 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 1ecde36..93a3fe7 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