Skip to content

Commit

Permalink
Run custom_type tests only on 64-bit architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
Ngalstyan4 authored and cevian committed Dec 12, 2018
1 parent 71f3a0c commit cb0fcf1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/sql/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ set(TEST_FILES
create_chunks.sql
create_hypertable.sql
create_table.sql
custom_type.sql
ddl_alter_column.sql
ddl_errors.sql
ddl_single.sql
Expand Down Expand Up @@ -60,6 +59,12 @@ set(TEST_FILES
views.sql
)

# only test custom type if we are in 64-bit architecture
if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "8")
list(APPEND TEST_FILES
custom_type.sql)
endif()

if (CMAKE_BUILD_TYPE MATCHES Debug)
list(APPEND TEST_FILES
bgw_launcher.sql
Expand Down

0 comments on commit cb0fcf1

Please sign in to comment.