-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (27 loc) · 1.43 KB
/
Copy pathMakefile
File metadata and controls
35 lines (27 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
PROJ_DIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
# Configuration of extension
EXT_NAME=h5db
EXT_CONFIG=${PROJ_DIR}extension_config.cmake
# Include the Makefile from extension-ci-tools
include extension-ci-tools/makefiles/duckdb_extension.Makefile
H5DB_LOCAL_TEST_FILTERS := "test/sql/*" "~test/sql/remote/*"
# Override test targets to ensure test data exists before running tests.
test_release_internal:
bash $(PROJ_DIR)test/data/ensure_test_data.sh
./build/release/$(TEST_PATH) $(H5DB_LOCAL_TEST_FILTERS)
bash $(PROJ_DIR)test/scripts/run_remote_tests.sh --unittest-bin ./build/release/$(TEST_PATH)
bash $(PROJ_DIR)test/scripts/run_sftp_tests.sh --unittest-bin ./build/release/$(TEST_PATH)
test_debug_internal:
bash $(PROJ_DIR)test/data/ensure_test_data.sh
./build/debug/$(TEST_PATH) $(H5DB_LOCAL_TEST_FILTERS)
bash $(PROJ_DIR)test/scripts/run_remote_tests.sh --unittest-bin ./build/debug/$(TEST_PATH)
bash $(PROJ_DIR)test/scripts/run_sftp_tests.sh --unittest-bin ./build/debug/$(TEST_PATH)
test_reldebug_internal:
bash $(PROJ_DIR)test/data/ensure_test_data.sh
./build/reldebug/$(TEST_PATH) $(H5DB_LOCAL_TEST_FILTERS)
bash $(PROJ_DIR)test/scripts/run_remote_tests.sh --unittest-bin ./build/reldebug/$(TEST_PATH)
bash $(PROJ_DIR)test/scripts/run_sftp_tests.sh --unittest-bin ./build/reldebug/$(TEST_PATH)
test_remote_http:
bash $(PROJ_DIR)test/scripts/run_remote_tests.sh
test_remote_sftp:
bash $(PROJ_DIR)test/scripts/run_sftp_tests.sh