Commit e49a210c authored by Davi Arnaut's avatar Davi Arnaut

Bug#45605: ps_not_windows.test fails:

           The plugin feature is disabled, you need HAVE_DLOPEN

Selectively skip tests that require dynamic loading (ie: static builds).

mysql-test/include/have_dynamic_loading.inc:
  Add require file.
mysql-test/t/ps_not_windows.test:
  Test requires dynamic loading support.
parent 8a3d59ea
#
# Whether server supports dynamic loading.
#
--require r/have_dynamic_loading.require
disable_query_log;
show variables like 'have_dynamic_loading';
enable_query_log;
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
# Check if server has support for loading udf's # Check if server has support for loading udf's
# i.e it will support dlopen # i.e it will support dlopen
# #
--require r/have_dynamic_loading.require --source include/have_dynamic_loading.inc
disable_query_log;
show variables like 'have_dynamic_loading';
enable_query_log;
# #
# Check if the variable EXAMPLE_PLUGIN is set # Check if the variable EXAMPLE_PLUGIN is set
......
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
# Check if server has support for loading udf's # Check if server has support for loading udf's
# i.e it will support dlopen # i.e it will support dlopen
# #
--require r/have_dynamic_loading.require --source include/have_dynamic_loading.inc
disable_query_log;
show variables like 'have_dynamic_loading';
enable_query_log;
# #
# Check if the variable SIMPLE_PARSER is set # Check if the variable SIMPLE_PARSER is set
......
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
# Check if server has support for loading udf's # Check if server has support for loading udf's
# i.e it will support dlopen # i.e it will support dlopen
# #
--require r/have_dynamic_loading.require --source include/have_dynamic_loading.inc
disable_query_log;
show variables like 'have_dynamic_loading';
enable_query_log;
# #
# Check if the variable UDF_EXAMPLE_LIB is set # Check if the variable UDF_EXAMPLE_LIB is set
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
--source include/not_embedded.inc --source include/not_embedded.inc
# Non-windows specific ps tests. # Non-windows specific ps tests.
--source include/not_windows.inc --source include/not_windows.inc
# requires dynamic loading
--source include/have_dynamic_loading.inc
# #
# Bug #20665: All commands supported in Stored Procedures should work in # Bug #20665: All commands supported in Stored Procedures should work in
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment