Skip to content

Commit 189fcbb

Browse files
committed
Test more of the flex Lua config files
1 parent c0c391a commit 189fcbb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

flex-config/with-schema.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
-- This configuration for the flex output shows how to define a table in
44
-- a PostgreSQL schema.
5+
--
6+
-- This config file expects that you have a schema called `myschema` in
7+
-- your database (created with something like `CREATE SCHEMA myschema;`).
58

69
local dtable = osm2pgsql.define_way_table('data', {
710
{ column = 'tags', type = 'hstore' },

tests/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ if (HAVE_LUA)
9898
set_test(test-output-flex-way-relation-del)
9999

100100
set_test(test-output-flex-example-configs)
101-
set(FLEX_EXAMPLE_CONFIGS "compatible,data-types,generic,geometries,route-relations,simple,unitable")
102-
# places.lua not tested because it needs dkjson package
101+
set(FLEX_EXAMPLE_CONFIGS "attributes,compatible,data-types,generic,geometries,places,route-relations,simple,unitable")
102+
# with-schema.lua is not tested because it needs the schema created in the database
103103
set_tests_properties(test-output-flex-example-configs PROPERTIES ENVIRONMENT "EXAMPLE_FILES=${FLEX_EXAMPLE_CONFIGS}")
104104
endif()
105105

0 commit comments

Comments
 (0)