Skip to content

Commit

Permalink
Fix check for find changes at DDL files (#21)
Browse files Browse the repository at this point in the history
After commit 97f1f9b all DDL files
were moved to directory "control/ddl". At upgrade test there is check,
which finds diff at DDL files from last release version. Path, where
DDL files are found, was not changed, and this check did not work.
  • Loading branch information
red1452 committed Oct 6, 2023
1 parent 89382df commit cc0e83f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upgrade_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ exec_program(
)

# check whether DDL file (*.sql) is modified
file(GLOB ddl_files ${CMAKE_SOURCE_DIR}/*.sql)
file(GLOB ddl_files ${CMAKE_SOURCE_DIR}/control/ddl/*.sql)
foreach(ddl IN LISTS ddl_files)
cmake_path(GET ddl FILENAME ddl)
exec_program(
Expand Down

0 comments on commit cc0e83f

Please sign in to comment.