MXS-1702: Move canonicalization test into core

Moved the test into the core where it belongs.
This commit is contained in:
Markus Mäkelä 2018-03-15 13:32:29 +02:00
parent 3e0b3db65e
commit cb170eb88e
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19
15 changed files with 2 additions and 4 deletions

View File

@ -111,5 +111,3 @@ if (BUILD_QC_MYSQLEMBEDDED)
add_test(TestQC_Oracle-type_variables compare -v 2 ${CMAKE_CURRENT_SOURCE_DIR}/oracle/variables.test)
endif()
endif()
add_subdirectory(canonical_tests)

View File

@ -95,3 +95,4 @@ add_test(test_utils test_utils)
add_test(test_session_track test_session_track)
add_subdirectory(rest-api)
add_subdirectory(canonical_tests)

View File

@ -1,5 +1,4 @@
# This test no longer requires the query classifier for canonicalization
# TODO: Move these tests to the core test set
add_executable(canonizer canonizer.c)
target_link_libraries(canonizer maxscale-common)
add_test(NAME CanonicalQuery COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/canontest.sh

View File

@ -41,7 +41,7 @@ int main(int argc, char** argv)
return 1;
}
set_libdir(strdup("../../qc_sqlite/"));
set_libdir(strdup("../../../../query_classifier/qc_sqlite/"));
set_datadir(strdup("/tmp"));
set_langdir(strdup("."));
set_process_datadir(strdup("/tmp"));