diff options
| author | ruki <[email protected]> | 2018-09-25 22:36:07 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-09-25 09:36:45 +0800 |
| commit | 99cdb886b0756e02520d74a43f201f94eb2150ec (patch) | |
| tree | 774b18912b5d4f4931f11f1f5c876ac7eec2894b | |
| parent | cebceaaee1a3954ed86f4462f0be01c464a17af8 (diff) | |
fix tests bug
| -rw-r--r-- | tests/modules/process/test.lua | 6 | ||||
| -rw-r--r-- | 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)") |
