From 99cdb886b0756e02520d74a43f201f94eb2150ec Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 25 Sep 2018 22:36:07 +0800 Subject: fix tests bug --- tests/modules/process/test.lua | 6 +++--- tests/projects/go/static_library/xmake.lua | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/modules/process/test.lua b/tests/modules/process/test.lua index 64c975b29..7b5501994 100644 --- a/tests/modules/process/test.lua +++ b/tests/modules/process/test.lua @@ -1,9 +1,9 @@ function main() -- single process test - local inftimeout=999 - local stdout=os.tmpfile() - local stderr=os.tmpfile() + local inftimeout = 5000 + local stdout = os.tmpfile() + local stderr = os.tmpfile() for i = 1, 2 do local pro = process.open("echo -n awd", stdout, stderr) process.wait(pro, inftimeout) diff --git a/tests/projects/go/static_library/xmake.lua b/tests/projects/go/static_library/xmake.lua index 603b661a9..b0c3d20ce 100644 --- a/tests/projects/go/static_library/xmake.lua +++ b/tests/projects/go/static_library/xmake.lua @@ -43,8 +43,8 @@ target("test") add_files("src/*.go") -- add link directory - add_linkdirs("$(buildir)/$(mode)/$(arch)") + add_linkdirs("$(buildir)/$(plat)/$(arch)/$(mode)") -- add include directory - add_includedirs("$(buildir)/$(mode)/$(arch)") + add_includedirs("$(buildir)/$(plat)/$(arch)/$(mode)") -- cgit v1.3.1