Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
5401d447
Commit
5401d447
authored
May 05, 2014
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix broken -DWITHOUT_SERVER build: move sql-dependent unit test from mysys/ to sql/
parent
2221029f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
14 deletions
+33
-14
CMakeLists.txt
CMakeLists.txt
+4
-1
unittest/mysys/CMakeLists.txt
unittest/mysys/CMakeLists.txt
+0
-13
unittest/sql/CMakeLists.txt
unittest/sql/CMakeLists.txt
+29
-0
unittest/sql/explain_filename-t.cc
unittest/sql/explain_filename-t.cc
+0
-0
No files found.
CMakeLists.txt
View file @
5401d447
...
...
@@ -376,10 +376,13 @@ IF(WITH_UNIT_TESTS)
ADD_SUBDIRECTORY
(
unittest/examples
)
ADD_SUBDIRECTORY
(
unittest/mysys
)
ADD_SUBDIRECTORY
(
unittest/my_decimal
)
IF
(
NOT WITHOUT_SERVER
)
ADD_SUBDIRECTORY
(
unittest/sql
)
ENDIF
()
ENDIF
()
IF
(
NOT WITHOUT_SERVER
)
SET
(
MYSQLD_STATIC_PLUGIN_LIBS
""
CACHE INTERNAL
""
)
SET
(
MYSQLD_STATIC_PLUGIN_LIBS
""
CACHE INTERNAL
""
)
# Add storage engines and plugins.
CONFIGURE_PLUGINS
()
ENDIF
()
...
...
unittest/mysys/CMakeLists.txt
View file @
5401d447
...
...
@@ -13,10 +13,6 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
INCLUDE_DIRECTORIES
(
${
CMAKE_SOURCE_DIR
}
/sql
${
CMAKE_SOURCE_DIR
}
/regex
${
CMAKE_SOURCE_DIR
}
/extra/yassl/include
)
MY_ADD_TESTS
(
bitmap base64 my_vsnprintf my_atomic my_rdtsc lf my_malloc
LINK_LIBRARIES mysys
)
...
...
@@ -24,12 +20,3 @@ IF(WIN32)
MY_ADD_TESTS
(
my_delete LINK_LIBRARIES mysys
)
ENDIF
()
IF
(
WIN32
)
ADD_EXECUTABLE
(
explain_filename-t explain_filename-t.cc
../../sql/nt_servc.cc
)
ELSE
()
ADD_EXECUTABLE
(
explain_filename-t explain_filename-t.cc
)
ENDIF
()
TARGET_LINK_LIBRARIES
(
explain_filename-t sql mytap
)
ADD_TEST
(
explain_filename explain_filename-t
)
unittest/sql/CMakeLists.txt
0 → 100644
View file @
5401d447
# Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
INCLUDE_DIRECTORIES
(
${
CMAKE_SOURCE_DIR
}
/sql
${
CMAKE_SOURCE_DIR
}
/include
${
CMAKE_SOURCE_DIR
}
/unittest/mytap
${
CMAKE_SOURCE_DIR
}
/extra/yassl/include
)
IF
(
WIN32
)
ADD_EXECUTABLE
(
explain_filename-t explain_filename-t.cc
../../sql/nt_servc.cc
)
ELSE
()
ADD_EXECUTABLE
(
explain_filename-t explain_filename-t.cc
)
ENDIF
()
TARGET_LINK_LIBRARIES
(
explain_filename-t sql mytap
)
ADD_TEST
(
explain_filename explain_filename-t
)
unittest/
mysys
/explain_filename-t.cc
→
unittest/
sql
/explain_filename-t.cc
View file @
5401d447
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment