Commit ff9a1bd2 authored by unknown's avatar unknown

Shift skipping of some tests with embedded server from within

mysql-test-run to the tests themselves.


mysql-test/t/bdb-deadlock.test:
  Don't run this test with embedded server
mysql-test/mysql-test-run.sh:
  Remove tests from being skipped with embedded server
mysql-test/t/connect.test:
  Skip test under embedded server
mysql-test/t/flush_block_commit.test:
  Skip test under embedded server
mysql-test/t/grant.test:
  Skip test under embedded server
mysql-test/t/grant2.test:
  Skip test under embedded server
mysql-test/t/grant_cache.test:
  Skip test under embedded server
parent 20586596
...@@ -1506,12 +1506,6 @@ run_testcase () ...@@ -1506,12 +1506,6 @@ run_testcase ()
# script soon anyway so it is not worth it spending the time # script soon anyway so it is not worth it spending the time
if [ "x$USE_EMBEDDED_SERVER" = "x1" -a -z "$DO_TEST" ] ; then if [ "x$USE_EMBEDDED_SERVER" = "x1" -a -z "$DO_TEST" ] ; then
for t in \ for t in \
"bdb-deadlock" \
"connect" \
"flush_block_commit" \
"grant2" \
"grant_cache" \
"grant" \
"init_connect" \ "init_connect" \
"init_file" \ "init_file" \
"innodb" \ "innodb" \
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
# connection in a separate thread. # connection in a separate thread.
# #
#-- source include/not_embedded.inc -- source include/not_embedded.inc
-- source include/have_bdb.inc -- source include/have_bdb.inc
connect (con1,localhost,root,,); connect (con1,localhost,root,,);
......
...@@ -3,6 +3,9 @@ ...@@ -3,6 +3,9 @@
# Unfortunately the check is incomplete as we can't handle errors on connect # Unfortunately the check is incomplete as we can't handle errors on connect
# Also we can't connect without database # Also we can't connect without database
# This test makes no sense with the embedded server
--source include/not_embedded.inc
#connect (con1,localhost,root,,""); #connect (con1,localhost,root,,"");
#show tables; #show tables;
connect (con1,localhost,root,,mysql); connect (con1,localhost,root,,mysql);
......
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
# We verify that we did not introduce a deadlock. # We verify that we did not introduce a deadlock.
# This is intended to mimick how mysqldump and innobackup work. # This is intended to mimick how mysqldump and innobackup work.
# This test doesn't work with the embedded server
-- source include/not_embedded.inc
# And it requires InnoDB
-- source include/have_innodb.inc -- source include/have_innodb.inc
connect (con1,localhost,root,,); connect (con1,localhost,root,,);
......
# Test of GRANT commands # Test of GRANT commands
# Grant tests not performed with embedded server
-- source include/not_embedded.inc
# Cleanup # Cleanup
--disable_warnings --disable_warnings
drop table if exists t1; drop table if exists t1;
......
# Grant tests not performed with embedded server
-- source include/not_embedded.inc
SET NAMES binary; SET NAMES binary;
# #
......
# Grant tests not performed with embedded server
-- source include/not_embedded.inc
-- source include/have_query_cache.inc -- source include/have_query_cache.inc
# #
......
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