From 38bbf60993c77e4e1e219ec131b5c4f1bd859de8 Mon Sep 17 00:00:00 2001 From: Renaud Guillard Date: Sat, 6 May 2017 13:01:19 +0200 Subject: [PATCH] test: disable os.findheader() on windows --- tests/base/test_os.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/base/test_os.lua b/tests/base/test_os.lua index 32fb3143..70cf21d1 100644 --- a/tests/base/test_os.lua +++ b/tests/base/test_os.lua @@ -37,7 +37,9 @@ end function suite.findheader_stdheaders() - test.istrue(os.findheader("stdlib.h")) + if not (os.istarget("windows")) then + test.istrue(os.findheader("stdlib.h")) + end end function suite.findheader_failure()