diff options
-rw-r--r-- | server/test/main.lua | 10 |
1 files changed, 10 insertions, 0 deletions
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('测试完成') |