mirror of https://github.com/sysown/proxysql
- Move RAG test files to dedicated test/rag/ directory - Create proper Makefile in test/rag/ directory - Remove build_rag_test.sh script (replaced by Makefile) - Update .gitignore to exclude test/rag/test_rag_schema executable - Update documentation to reflect new test structurepull/5318/head
parent
acd05b60a9
commit
7a7872f078
@ -1,31 +1,9 @@
|
||||
#!/bin/make -f
|
||||
|
||||
PROXYSQL_PATH := $(shell while [ ! -f ./src/proxysql_global.cpp ]; do cd ../..; done; pwd)
|
||||
|
||||
include $(PROXYSQL_PATH)/include/makefiles_vars.mk
|
||||
include $(PROXYSQL_PATH)/include/makefiles_paths.mk
|
||||
|
||||
IDIRS := -I$(PROXYSQL_IDIR) \
|
||||
-I$(JEMALLOC_IDIR) \
|
||||
-I$(MARIADB_IDIR) \
|
||||
-I$(LIBCONFIG_IDIR) \
|
||||
-I$(RE2_IDIR) \
|
||||
-I$(SQLITE3_IDIR) \
|
||||
-I$(PCRE_IDIR) \
|
||||
-I$(SYS_LOC_IDIR) \
|
||||
-I$(CLICKHOUSE_CPP_IDIR) \
|
||||
-I$(MICROHTTPD_IDIR) \
|
||||
-I$(LIBHTTPSERVER_IDIR) \
|
||||
-I$(LIBINJECTION_IDIR) \
|
||||
-I$(CURL_IDIR) \
|
||||
-I$(EV_IDIR) \
|
||||
-I$(JSON_IDIR) \
|
||||
-I$(SSL_IDIR)
|
||||
|
||||
test_rag_schema: test_rag_schema.cpp
|
||||
$(CXX) -ggdb $(PROXYSQL_OBJS) test_rag_schema.cpp -o test_rag_schema $(IDIRS) $(LDIRS) $(PROXYSQL_LIBS)
|
||||
g++ -ggdb test_rag_schema.cpp ../../deps/sqlite3/libsqlite_rembed.a ../../deps/sqlite3/sqlite3/libsqlite3.so -o test_rag_schema -I../../deps/sqlite3/sqlite3 -lssl -lcrypto
|
||||
|
||||
clean:
|
||||
rm -f test_rag_schema
|
||||
|
||||
.PHONY: clean
|
||||
.PHONY: clean
|
||||
|
||||
Loading…
Reference in new issue