summaryrefslogtreecommitdiff
path: root/mysql-test/include/not_windows_embedded.inc
diff options
context:
space:
mode:
authorMagnus Blåudd <magnus.blaudd@sun.com>2009-10-08 10:39:15 +0200
committerMagnus Blåudd <magnus.blaudd@sun.com>2009-10-08 10:39:15 +0200
commitfabde82dbd0d4281421ee414603640659c9ab8aa (patch)
tree72b9fdde9818a49d59101883ad22a3d992fd508c /mysql-test/include/not_windows_embedded.inc
parent7a633b68d29f9cc52985547c3dabc8b1772df92f (diff)
downloadmariadb-git-fabde82dbd0d4281421ee414603640659c9ab8aa.tar.gz
Bug#47801 The plugin test fails with the Embedded Server on Windows
- Remove the "hack" from mtr.pl that skipped searching for the .dll files when embedded and windows. Now the variables will be preoperly initialized. - Make the tests detect that they can't run on windows+embedded
Diffstat (limited to 'mysql-test/include/not_windows_embedded.inc')
-rw-r--r--mysql-test/include/not_windows_embedded.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/include/not_windows_embedded.inc b/mysql-test/include/not_windows_embedded.inc
new file mode 100644
index 00000000000..46f5e0ccfce
--- /dev/null
+++ b/mysql-test/include/not_windows_embedded.inc
@@ -0,0 +1,11 @@
+let $is_win = `select convert(@@version_compile_os using latin1) IN ("Win32","Win64","Windows")`;
+let $is_embedded = `select version() like '%embedded%'`;
+#echo is_win: $is_win;
+#echo is_embedded: $is_embedded;
+if ($is_win)
+{
+ if ($is_embedded)
+ {
+ skip Not supported with embedded on windows;
+ }
+}