Skip to content
Snippets Groups Projects
Commit 47cb32d3 authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

Fix module_api test

parent 2f13b967
No related branches found
No related tags found
No related merge requests found
import os import os
# skip test if .so is not found # skip test if .so is not found
if not os.path.exists('app/module_api.so'): if not os.path.exists('app-tap/module_api.so') and \
not os.path.exists('app-tap/module_api.dylib'):
self.skip=1 self.skip=1
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
box.cfg{logger = "tarantool.log"} box.cfg{logger = "tarantool.log"}
package.cpath = '../app/?.so;../app/?.dylib;'..package.cpath package.cpath = '../app-tap/?.so;../app-tap/?.dylib;'
local test = require('tap').test("module_api", function(test) local test = require('tap').test("module_api", function(test)
test:plan(13) test:plan(13)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment