summaryrefslogtreecommitdiff
path: root/mysql-test/t/mysql_embedded.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/mysql_embedded.test')
-rw-r--r--mysql-test/t/mysql_embedded.test8
1 files changed, 7 insertions, 1 deletions
diff --git a/mysql-test/t/mysql_embedded.test b/mysql-test/t/mysql_embedded.test
index b4c8c6be05f..30959b83017 100644
--- a/mysql-test/t/mysql_embedded.test
+++ b/mysql-test/t/mysql_embedded.test
@@ -3,4 +3,10 @@
--echo #
--source include/is_embedded.inc
---exec $MYSQL_TEST_DIR/../libmysqld/examples/mysql_embedded -e 'select 1'
+
+# Test case require mysql_embedded to be present
+if(!$MYSQL_EMBEDDED)
+{
+ --skip Test requires mysql_embedded executable
+}
+--exec $MYSQL_EMBEDDED -e 'select 1'