refactoring; finishing integration of CMocka; several test cases covered
This commit is contained in:
@@ -5,11 +5,15 @@ if (USE_POSTGRESQL)
|
||||
target_link_libraries(db
|
||||
PRIVATE
|
||||
PostgreSQL::PostgreSQL
|
||||
main
|
||||
utils
|
||||
)
|
||||
else()
|
||||
target_link_libraries(db
|
||||
PRIVATE
|
||||
SQLite3::SQLite3
|
||||
main
|
||||
utils
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
/* Copyright (c) 2026 Oleksandr Zhylin */
|
||||
|
||||
#include "../main.h"
|
||||
#include "../utils.h"
|
||||
#include <main.h>
|
||||
#include <utils.h>
|
||||
#include "db_common.h"
|
||||
#include <db.h>
|
||||
#include <endian.h>
|
||||
|
||||
Reference in New Issue
Block a user