summaryrefslogtreecommitdiff
path: root/tests/test.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-09-26 00:26:12 +0800
committerruki <[email protected]>2018-09-25 20:37:14 +0800
commitef796135d8e1a46cf7fe0f663315f37147fc2855 (patch)
treecb7a76deccf185e527a66703a61393cf366075f7 /tests/test.lua
parent99cdb886b0756e02520d74a43f201f94eb2150ec (diff)
disable stats for tests
Diffstat (limited to 'tests/test.lua')
-rw-r--r--tests/test.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test.lua b/tests/test.lua
index 2f67ba416..15db06902 100644
--- a/tests/test.lua
+++ b/tests/test.lua
@@ -22,6 +22,9 @@ end
-- main entry
function main(name)
+ -- disable statistics
+ os.setenv("XMAKE_STATS", false)
+
-- run the given test
if name then
return _run_test(name)