diff options
author | 2019-09-29 15:30:18 +0200 | |
---|---|---|
committer | 2019-09-29 09:30:18 -0400 | |
commit | ed2b7e5ef1626c0d6318b6ea71897efbb4356277 (patch) | |
tree | 62a84a4a2c804922839dbfa60ec664b84beaaee0 /3rdparty/genie/tests/actions/xcode/test_xcode_common.lua | |
parent | 1bd1288c9e17bdba9544d1e56be7618106fece7e (diff) |
Synced with GENie upstream revision e78d6c1 (#5631)
* Synced with GENie upstream revision e78d6c1
* Add Visual Studio 2019 support
* Fix hardcoded -m64
* Switch appveyor to Visual Studio 2019
* Fix genie being built as 32-bit
* MSVC build is known to be broken currently. Let it fail until all the known issues are fixed.
* Update the packages before building
* Build with 3 threads
Appveyor VMs have only 2 cores and 8 GB RAM.
* Enable caching of pacman cache
Diffstat (limited to '3rdparty/genie/tests/actions/xcode/test_xcode_common.lua')
-rw-r--r-- | 3rdparty/genie/tests/actions/xcode/test_xcode_common.lua | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/3rdparty/genie/tests/actions/xcode/test_xcode_common.lua b/3rdparty/genie/tests/actions/xcode/test_xcode_common.lua deleted file mode 100644 index 1f7fa2a2d49..00000000000 --- a/3rdparty/genie/tests/actions/xcode/test_xcode_common.lua +++ /dev/null @@ -1,67 +0,0 @@ --- --- tests/actions/xcode/test_xcode_common.lua --- Automated test suite for functions shared between Xcode projects and solutions --- Copyright (c) 2009 Jason Perkins and the Premake project --- - - T.xcode3common = { } - - local suite = T.xcode3common - local xcode = premake.xcode - - --- --- Replacement for xcode.newid(). Creates a synthetic ID based on the node name, --- 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. --- - - xcode.used_ids = {} - - xcode.newid = function(node, usage) - local name = node.name - if usage then - name = name .. ":" .. usage - end - - if xcode.used_ids[name] then - local count = xcode.used_ids[name] + 1 - xcode.used_ids[name] = count - name = name .. "(" .. count .. ")" - else - xcode.used_ids[name] = 1 - end - - return "[" .. name .. "]" - end - - ---------------------------------------------------------------------------- --- Header/footer tests ---------------------------------------------------------------------------- - - function suite.Header_IsCorrect() - xcode.Header() - test.capture [[ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 45; - objects = { - - ]] - end - - - function suite.Footer() - xcode.Footer() - test.capture [[ - }; - rootObject = 08FB7793FE84155DC02AAC07 /* Project object */; -} - ]] - end - - |