mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
client_test with embedded library will be built so one can check if he broke
something in embedded PS
This commit is contained in:
@ -779,3 +779,4 @@ ndb/config/config.mk
|
|||||||
ndb/src/common/mgmcommon/printConfig/*.d
|
ndb/src/common/mgmcommon/printConfig/*.d
|
||||||
ndb/src/mgmclient/test_cpcd/*.d
|
ndb/src/mgmclient/test_cpcd/*.d
|
||||||
*.d
|
*.d
|
||||||
|
libmysqld/examples/client_test.c
|
||||||
|
@ -1,11 +1,16 @@
|
|||||||
noinst_PROGRAMS = mysqltest mysql
|
noinst_PROGRAMS = mysqltest mysql client_test
|
||||||
client_sources = $(mysqltest_SOURCES) $(mysql_SOURCES)
|
client_sources = $(mysqltest_SOURCES) $(mysql_SOURCES)
|
||||||
|
tests_sources= $(client_test_SOURCES)
|
||||||
|
|
||||||
link_sources:
|
link_sources:
|
||||||
for f in $(client_sources); do \
|
for f in $(client_sources); do \
|
||||||
rm -f $(srcdir)/$$f; \
|
rm -f $(srcdir)/$$f; \
|
||||||
@LN_CP_F@ $(srcdir)/../../client/$$f $(srcdir)/$$f; \
|
@LN_CP_F@ $(srcdir)/../../client/$$f $(srcdir)/$$f; \
|
||||||
done;
|
done;
|
||||||
|
for f in $(tests_sources); do \
|
||||||
|
rm -f $(srcdir)/$$f; \
|
||||||
|
@LN_CP_F@ $(srcdir)/../../tests/$$f $(srcdir)/$$f; \
|
||||||
|
done;
|
||||||
|
|
||||||
DEFS = -DEMBEDDED_LIBRARY
|
DEFS = -DEMBEDDED_LIBRARY
|
||||||
INCLUDES = @MT_INCLUDES@ -I$(top_srcdir)/include -I$(srcdir) \
|
INCLUDES = @MT_INCLUDES@ -I$(top_srcdir)/include -I$(srcdir) \
|
||||||
@ -21,8 +26,11 @@ mysql_SOURCES = mysql.cc readline.cc completion_hash.cc \
|
|||||||
my_readline.h sql_string.h completion_hash.h
|
my_readline.h sql_string.h completion_hash.h
|
||||||
mysql_LDADD = @readline_link@ @TERMCAP_LIB@ $(LDADD)
|
mysql_LDADD = @readline_link@ @TERMCAP_LIB@ $(LDADD)
|
||||||
|
|
||||||
|
client_test_SOURCES = client_test.c
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(client_sources)
|
rm -f $(client_sources)
|
||||||
|
rm -f $(tests_sources)
|
||||||
|
|
||||||
# Don't update the files from bitkeeper
|
# Don't update the files from bitkeeper
|
||||||
%::SCCS/s.%
|
%::SCCS/s.%
|
||||||
|
Reference in New Issue
Block a user