Browse Source

Fixed paths in CMakeList and compilation error

Updated tests
master
annelin 8 months ago
parent
commit
1734b368e3
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      CMakeLists.txt
  2. 1
    1
      test/pg.test.lua

+ 1
- 1
CMakeLists.txt View File

@@ -32,7 +32,7 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
endif()

# Build module
add_subdirectory(pg)
add_subdirectory(pg_tarantool)

add_custom_target(check
COMMAND ${PROJECT_SOURCE_DIR}/test/pg.test.lua)

+ 1
- 1
test/pg.test.lua View File

@@ -3,7 +3,7 @@
package.path = "../?/init.lua;./?/init.lua"
package.cpath = "../?.so;../?.dylib;./?.so;./?.dylib"

local pg = require('pg')
local pg = require('pg_tarantool')
local json = require('json')
local tap = require('tap')
local f = require('fiber')

Loading…
Cancel
Save