summaryrefslogtreecommitdiff
path: root/server/test.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/test.lua')
-rw-r--r--server/test.lua8
1 files changed, 1 insertions, 7 deletions
diff --git a/server/test.lua b/server/test.lua
index b1945a0e..b6ff2c7c 100644
--- a/server/test.lua
+++ b/server/test.lua
@@ -3,13 +3,7 @@ local rootPath = currentPath:gsub('[^/\\]-$', '')
if rootPath == '' then
rootPath = './'
end
-package.cpath = rootPath .. 'bin/?.so'
- .. ';' .. rootPath .. 'bin/?.dll'
-package.path = rootPath .. 'test/?.lua'
- .. ';' .. rootPath .. 'test/?/init.lua'
- .. ';' .. rootPath .. 'src/?.lua'
- .. ';' .. rootPath .. 'src/?/init.lua'
-
+dofile(rootPath .. 'platform.lua')
local fs = require 'bee.filesystem'
ROOT = fs.absolute(fs.path(rootPath):parent_path())
LANG = 'en-US'