Merge pull request #874 from starkos/disable-macos-findheaders-test

Disable failing `os.findheader()` unit test on macOS
This commit is contained in:
Samuel Surtees 2017-08-11 12:48:17 +10:00 committed by GitHub
commit 852043b461

View File

@ -1,8 +1,8 @@
--
---
-- tests/base/test_os.lua
-- Automated test suite for the new OS functions.
-- Copyright (c) 2008-2014 Jason Perkins and the Premake project
--
-- Copyright (c) 2008-2017 Jason Perkins and the Premake project
---
local suite = test.declare("base_os")
@ -37,7 +37,7 @@
end
function suite.findheader_stdheaders()
if not (os.istarget("windows")) then
if not os.istarget("windows") and not os.istarget("macosx") then
test.istrue(os.findheader("stdlib.h"))
end
end