diff --git a/Makefile b/Makefile index a082a1b..768a4ac 100644 --- a/Makefile +++ b/Makefile @@ -11,15 +11,13 @@ include extension-ci-tools/makefiles/duckdb_extension.Makefile # Setup the sqlite3 tpch database data/db/tpch.db: command -v sqlite3 || (command -v brew && brew install sqlite) || (command -v choco && choco install sqlite -y) || (command -v apt-get && apt-get install -y sqlite3) || (command -v yum && yum install -y sqlite) || (command -v apk && apk add sqlite) || echo "no sqlite3" - ./build/release/$(DUCKDB_PATH) < data/sql/tpch-export.duckdb || tree ./build/release || echo "neither tree not duck" + ./build/release/duckdb < data/sql/tpch-export.duckdb || tree ./build/release || echo "neither tree not duck" sqlite3 data/db/tpch.db < data/sql/tpch-create.sqlite -# Override the test target implementations from the duckdb_extension.Makefile -test_release_internal: data/db/tpch.db - SQLITE_TPCH_GENERATED=1 ./build/release/$(TEST_PATH) "$(PROJ_DIR)test/*" +export SQLITE_TPCH_GENERATED=1 -test_debug_internal: data/db/tpch.db - SQLITE_TPCH_GENERATED=1 ./build/debug/$(TEST_PATH) "$(PROJ_DIR)test/*" +test_release: data/db/tpch.db -test_reldebug_internal: data/db/tpch.db - SQLITE_TPCH_GENERATED=1 ./build/reldebug/$(TEST_PATH) "$(PROJ_DIR)test/*" +test_debug: data/db/tpch.db + +test_reldebug: data/db/tpch.db