2006-12-31 01:02:27 +01:00
|
|
|
# Copyright (C) 2004-2006 MySQL AB
|
|
|
|
#
|
|
|
|
# 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
|
2004-05-25 13:09:11 +02:00
|
|
|
|
2004-05-26 17:36:55 +02:00
|
|
|
SUBDIRS = bank
|
|
|
|
|
2004-05-27 09:04:45 +02:00
|
|
|
ndbtest_PROGRAMS = \
|
2004-05-26 17:36:55 +02:00
|
|
|
flexBench \
|
|
|
|
drop_all_tabs \
|
|
|
|
create_all_tabs \
|
|
|
|
create_tab \
|
|
|
|
flexAsynch \
|
|
|
|
flexBench \
|
|
|
|
flexHammer \
|
|
|
|
flexTT \
|
|
|
|
testBackup \
|
|
|
|
testBasic \
|
|
|
|
testBasicAsynch \
|
2004-06-10 16:25:13 +02:00
|
|
|
testBlobs \
|
2004-05-26 17:36:55 +02:00
|
|
|
testDataBuffers \
|
|
|
|
testDict \
|
|
|
|
testIndex \
|
|
|
|
testMgm \
|
|
|
|
testNdbApi \
|
|
|
|
testNodeRestart \
|
|
|
|
testOIBasic \
|
|
|
|
testOperations \
|
|
|
|
testRestartGci \
|
|
|
|
testScan \
|
2006-05-15 19:53:29 +02:00
|
|
|
testInterpreter \
|
2007-03-01 08:13:33 +01:00
|
|
|
testScanFilter \
|
2004-05-26 17:36:55 +02:00
|
|
|
testScanInterpreter \
|
2004-07-15 09:28:18 +02:00
|
|
|
testScanPerf \
|
2004-05-26 17:36:55 +02:00
|
|
|
testSystemRestart \
|
|
|
|
testTimeout \
|
|
|
|
testTransactions \
|
2004-06-29 14:53:15 +02:00
|
|
|
testDeadlock \
|
2006-07-05 16:26:08 +02:00
|
|
|
ndbapi_slow_select testReadPerf testLcp \
|
2004-12-06 14:01:48 +01:00
|
|
|
testPartitioning \
|
2005-02-10 16:13:06 +01:00
|
|
|
testBitfield \
|
2005-03-09 01:22:12 +01:00
|
|
|
DbCreate DbAsyncGenerator \
|
2006-07-05 16:26:08 +02:00
|
|
|
testSRBank
|
2004-05-26 17:36:55 +02:00
|
|
|
|
2006-07-14 11:09:36 +02:00
|
|
|
EXTRA_PROGRAMS = \
|
|
|
|
test_event \
|
|
|
|
test_event_merge \
|
|
|
|
test_event_multi_table
|
2004-05-26 19:51:58 +02:00
|
|
|
#flexTimedAsynch
|
2004-05-26 17:36:55 +02:00
|
|
|
#testBlobs
|
|
|
|
#flex_bench_mysql
|
|
|
|
|
|
|
|
create_all_tabs_SOURCES = create_all_tabs.cpp
|
|
|
|
create_tab_SOURCES = create_tab.cpp
|
|
|
|
drop_all_tabs_SOURCES = drop_all_tabs.cpp
|
|
|
|
flexAsynch_SOURCES = flexAsynch.cpp
|
|
|
|
flexBench_SOURCES = flexBench.cpp
|
|
|
|
flexHammer_SOURCES = flexHammer.cpp
|
|
|
|
flexTT_SOURCES = flexTT.cpp
|
2004-05-26 19:51:58 +02:00
|
|
|
#flexTimedAsynch_SOURCES = flexTimedAsynch.cpp
|
2004-05-26 17:36:55 +02:00
|
|
|
#flex_bench_mysql_SOURCES = flex_bench_mysql.cpp
|
|
|
|
testBackup_SOURCES = testBackup.cpp
|
|
|
|
testBasic_SOURCES = testBasic.cpp
|
|
|
|
testBasicAsynch_SOURCES = testBasicAsynch.cpp
|
2004-06-10 16:25:13 +02:00
|
|
|
testBlobs_SOURCES = testBlobs.cpp
|
2004-05-26 17:36:55 +02:00
|
|
|
testDataBuffers_SOURCES = testDataBuffers.cpp
|
|
|
|
testDict_SOURCES = testDict.cpp
|
|
|
|
testIndex_SOURCES = testIndex.cpp
|
|
|
|
testMgm_SOURCES = testMgm.cpp
|
|
|
|
testNdbApi_SOURCES = testNdbApi.cpp
|
|
|
|
testNodeRestart_SOURCES = testNodeRestart.cpp
|
|
|
|
testOIBasic_SOURCES = testOIBasic.cpp
|
|
|
|
testOperations_SOURCES = testOperations.cpp
|
|
|
|
testRestartGci_SOURCES = testRestartGci.cpp
|
2004-07-22 09:37:55 +02:00
|
|
|
testScan_SOURCES = testScan.cpp ScanFunctions.hpp
|
2006-05-15 19:53:29 +02:00
|
|
|
testInterpreter_SOURCES = testInterpreter.cpp
|
2007-03-01 08:13:33 +01:00
|
|
|
testScanFilter_SOURCES = testScanFilter.cpp
|
2004-07-22 09:37:55 +02:00
|
|
|
testScanInterpreter_SOURCES = testScanInterpreter.cpp ScanFilter.hpp ScanInterpretTest.hpp
|
2004-07-15 09:28:18 +02:00
|
|
|
testScanPerf_SOURCES = testScanPerf.cpp
|
2004-05-26 17:36:55 +02:00
|
|
|
testSystemRestart_SOURCES = testSystemRestart.cpp
|
|
|
|
testTimeout_SOURCES = testTimeout.cpp
|
|
|
|
testTransactions_SOURCES = testTransactions.cpp
|
2004-06-29 14:53:15 +02:00
|
|
|
testDeadlock_SOURCES = testDeadlock.cpp
|
2004-05-26 17:36:55 +02:00
|
|
|
test_event_SOURCES = test_event.cpp
|
2004-08-31 10:14:36 +02:00
|
|
|
ndbapi_slow_select_SOURCES = slow_select.cpp
|
2004-09-06 07:08:40 +02:00
|
|
|
testReadPerf_SOURCES = testReadPerf.cpp
|
2004-09-15 15:17:16 +02:00
|
|
|
testLcp_SOURCES = testLcp.cpp
|
2004-11-15 21:40:35 +01:00
|
|
|
testPartitioning_SOURCES = testPartitioning.cpp
|
2004-12-06 14:01:48 +01:00
|
|
|
testBitfield_SOURCES = testBitfield.cpp
|
2005-03-02 00:25:16 +01:00
|
|
|
DbCreate_SOURCES = bench/mainPopulate.cpp bench/dbPopulate.cpp bench/userInterface.cpp bench/dbPopulate.h bench/userInterface.h bench/testData.h bench/testDefinitions.h bench/ndb_schema.hpp bench/ndb_error.hpp
|
|
|
|
DbAsyncGenerator_SOURCES = bench/mainAsyncGenerator.cpp bench/asyncGenerator.cpp bench/ndb_async2.cpp bench/dbGenerator.h bench/macros.h bench/userInterface.h bench/testData.h bench/testDefinitions.h bench/ndb_schema.hpp bench/ndb_error.hpp
|
2005-03-09 01:22:12 +01:00
|
|
|
test_event_multi_table_SOURCES = test_event_multi_table.cpp
|
2005-09-09 12:39:06 +02:00
|
|
|
testSRBank_SOURCES = testSRBank.cpp
|
2005-12-27 16:57:50 +01:00
|
|
|
test_event_merge_SOURCES = test_event_merge.cpp
|
2004-05-26 17:36:55 +02:00
|
|
|
|
|
|
|
INCLUDES_LOC = -I$(top_srcdir)/ndb/include/kernel
|
|
|
|
|
|
|
|
include $(top_srcdir)/ndb/config/common.mk.am
|
|
|
|
include $(top_srcdir)/ndb/config/type_ndbapitest.mk.am
|
|
|
|
|
|
|
|
##testDict_INCLUDES = $(INCLUDES) -I$(top_srcdir)/ndb/include/kernel
|
|
|
|
##testIndex_INCLUDES = $(INCLUDES) -I$(top_srcdir)/ndb/include/kernel
|
|
|
|
##testSystemRestart_INCLUDES = $(INCLUDES) -I$(top_srcdir)/ndb/include/kernel
|
|
|
|
##testTransactions_INCLUDES = $(INCLUDES) -I$(top_srcdir)/ndb/include/kernel
|
|
|
|
testBackup_LDADD = $(LDADD) bank/libbank.a
|
2005-09-09 12:39:06 +02:00
|
|
|
testSRBank_LDADD = bank/libbank.a $(LDADD)
|
2004-05-26 17:36:55 +02:00
|
|
|
|
|
|
|
# Don't update the files from bitkeeper
|
|
|
|
%::SCCS/s.%
|
2004-06-10 16:25:13 +02:00
|
|
|
|
2004-06-29 14:53:15 +02:00
|
|
|
|
2004-12-12 18:37:36 +01:00
|
|
|
|
2004-11-16 07:20:30 +01:00
|
|
|
windoze-dsp: flexBench.dsp testBasic.dsp testBlobs.dsp \
|
|
|
|
testScan.dsp
|
2004-12-13 12:36:32 +01:00
|
|
|
|
2004-11-16 07:20:30 +01:00
|
|
|
flexBench.dsp: Makefile \
|
|
|
|
$(top_srcdir)/ndb/config/win-prg.am \
|
|
|
|
$(top_srcdir)/ndb/config/win-name \
|
|
|
|
$(top_srcdir)/ndb/config/win-includes \
|
|
|
|
$(top_srcdir)/ndb/config/win-sources \
|
|
|
|
$(top_srcdir)/ndb/config/win-libraries
|
|
|
|
cat $(top_srcdir)/ndb/config/win-prg.am > $@
|
|
|
|
@$(top_srcdir)/ndb/config/win-name $@ flexBench
|
|
|
|
@$(top_srcdir)/ndb/config/win-includes $@ $(INCLUDES)
|
|
|
|
@$(top_srcdir)/ndb/config/win-sources $@ $(flexBench_SOURCES)
|
|
|
|
@$(top_srcdir)/ndb/config/win-libraries $@ LINK $(LDADD)
|
|
|
|
|
|
|
|
testBasic.dsp: Makefile \
|
|
|
|
$(top_srcdir)/ndb/config/win-prg.am \
|
|
|
|
$(top_srcdir)/ndb/config/win-name \
|
|
|
|
$(top_srcdir)/ndb/config/win-includes \
|
|
|
|
$(top_srcdir)/ndb/config/win-sources \
|
|
|
|
$(top_srcdir)/ndb/config/win-libraries
|
|
|
|
cat $(top_srcdir)/ndb/config/win-prg.am > $@
|
|
|
|
@$(top_srcdir)/ndb/config/win-name $@ testBasic
|
|
|
|
@$(top_srcdir)/ndb/config/win-includes $@ $(INCLUDES)
|
|
|
|
@$(top_srcdir)/ndb/config/win-sources $@ $(testBasic_SOURCES)
|
|
|
|
@$(top_srcdir)/ndb/config/win-libraries $@ LINK $(LDADD)
|
|
|
|
|
|
|
|
testOIBasic.dsp: Makefile \
|
|
|
|
$(top_srcdir)/ndb/config/win-prg.am \
|
|
|
|
$(top_srcdir)/ndb/config/win-name \
|
|
|
|
$(top_srcdir)/ndb/config/win-includes \
|
|
|
|
$(top_srcdir)/ndb/config/win-sources \
|
|
|
|
$(top_srcdir)/ndb/config/win-libraries
|
|
|
|
cat $(top_srcdir)/ndb/config/win-prg.am > $@
|
|
|
|
@$(top_srcdir)/ndb/config/win-name $@ testOIBasic
|
|
|
|
@$(top_srcdir)/ndb/config/win-includes $@ $(INCLUDES)
|
|
|
|
@$(top_srcdir)/ndb/config/win-sources $@ $(testOIBasic_SOURCES)
|
|
|
|
@$(top_srcdir)/ndb/config/win-libraries $@ LINK $(LDADD)
|
|
|
|
|
|
|
|
testBlobs.dsp: Makefile \
|
|
|
|
$(top_srcdir)/ndb/config/win-prg.am \
|
|
|
|
$(top_srcdir)/ndb/config/win-name \
|
|
|
|
$(top_srcdir)/ndb/config/win-includes \
|
|
|
|
$(top_srcdir)/ndb/config/win-sources \
|
|
|
|
$(top_srcdir)/ndb/config/win-libraries
|
|
|
|
cat $(top_srcdir)/ndb/config/win-prg.am > $@
|
|
|
|
@$(top_srcdir)/ndb/config/win-name $@ testBlobs
|
|
|
|
@$(top_srcdir)/ndb/config/win-includes $@ $(INCLUDES)
|
|
|
|
@$(top_srcdir)/ndb/config/win-sources $@ $(testBlobs_SOURCES)
|
|
|
|
@$(top_srcdir)/ndb/config/win-libraries $@ LINK $(LDADD)
|
|
|
|
|
|
|
|
testScan.dsp: Makefile \
|
|
|
|
$(top_srcdir)/ndb/config/win-prg.am \
|
|
|
|
$(top_srcdir)/ndb/config/win-name \
|
|
|
|
$(top_srcdir)/ndb/config/win-includes \
|
|
|
|
$(top_srcdir)/ndb/config/win-sources \
|
|
|
|
$(top_srcdir)/ndb/config/win-libraries
|
|
|
|
cat $(top_srcdir)/ndb/config/win-prg.am > $@
|
|
|
|
@$(top_srcdir)/ndb/config/win-name $@ testScan
|
|
|
|
@$(top_srcdir)/ndb/config/win-includes $@ $(INCLUDES)
|
|
|
|
@$(top_srcdir)/ndb/config/win-sources $@ $(testScan_SOURCES)
|
|
|
|
@$(top_srcdir)/ndb/config/win-libraries $@ LINK $(LDADD)
|
2005-12-27 16:57:50 +01:00
|
|
|
|