From 6c296cea1e58968818154f3935715ae437166004 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 28 Aug 2019 12:10:37 +0800 Subject: =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=8A=A0=E8=BD=BD=E5=BA=93=E5=87=BD?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/test/main.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'server/test/main.lua') diff --git a/server/test/main.lua b/server/test/main.lua index 16926e3c..a7152883 100644 --- a/server/test/main.lua +++ b/server/test/main.lua @@ -17,6 +17,15 @@ require 'utility' require 'global_protect' require 'build_package' +local function loadAllLibs() + assert(require 'bee.filesystem') + assert(require 'bee.subprocess') + assert(require 'bee.thread') + assert(require 'bee.socket') + assert(require 'lni') + assert(require 'lpeglabel') +end + local function main() local function test(name) local clock = os.clock() @@ -43,6 +52,7 @@ local function main() print('测试完成') end +loadAllLibs() main() log.debug('测试完成') -- cgit v1.2.3