Skip to content

Commit

Permalink
MDEV-32507 Spider: Use $MTR_SUITE_DIR for init-file files
Browse files Browse the repository at this point in the history
This should fix certain CI builds where the spider suite test files
and the main suite test files do not follow the same relative paths
relations as the mariadb source.
  • Loading branch information
mariadb-YuchenPei committed Dec 7, 2023
1 parent 70283ac commit 30af987
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion storage/spider/mysql-test/spider/bugfix/t/mdev_27233.opt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
--init-file=$MYSQL_TEST_DIR/../storage/spider/mysql-test/spider/bugfix/t/mdev_27233.sql
--init-file=$MTR_SUITE_DIR/t/mdev_27233.sql
Original file line number Diff line number Diff line change
@@ -1 +1 @@
--init-file=$MYSQL_TEST_DIR/../storage/spider/mysql-test/spider/bugfix/t/mdev_28218_init_file.sql
--init-file=$MTR_SUITE_DIR/t/mdev_28218_init_file.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
--plugin-load-add=ha_spider
--init-file=$MYSQL_TEST_DIR/../storage/spider/mysql-test/spider/bugfix/t/mdev_28218_mixed.sql
--init-file=$MTR_SUITE_DIR/t/mdev_28218_mixed.sql
Original file line number Diff line number Diff line change
@@ -1 +1 @@
--init-file=$MYSQL_TEST_DIR/../storage/spider/mysql-test/spider/bugfix/t/udf_mysql_func_early_init_file.sql
--init-file=$MTR_SUITE_DIR/t/udf_mysql_func_early_init_file.sql

0 comments on commit 30af987

Please sign in to comment.