mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 23:34:34 +01:00
3b0e794aca
storage/maria/unittest/Makefile.am: Unittest cleunup added storage/maria/unittest/ma_control_file-t.c: Unittest fixed according new file format storage/maria/unittest/ma_test_loghandler-t.c: Unittest cleunup added Unittest progress report added storage/maria/unittest/ma_test_loghandler_multigroup-t.c: Unittest cleunup added Unittest progress report added storage/maria/unittest/ma_test_loghandler_multithread-t.c: Unittest cleunup added Unittest progress report added storage/maria/unittest/ma_test_loghandler_pagecache-t.c: Unittest cleunup added Unittest progress report added storage/maria/unittest/ma_maria_log_cleanup.c: New BitKeeper file ``storage/maria/unittest/ma_maria_log_cleanup.c''
87 lines
4.7 KiB
Makefile
87 lines
4.7 KiB
Makefile
# Copyright (C) 2006 MySQL AB & MySQL Finland AB & TCX DataKonsult 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; either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
AM_CPPFLAGS = @ZLIB_INCLUDES@ -I$(top_builddir)/include \
|
|
-I$(top_srcdir)/include -I$(top_srcdir)/unittest/mytap
|
|
INCLUDES = @ZLIB_INCLUDES@ -I$(top_builddir)/include \
|
|
-I$(top_srcdir)/include -I$(top_srcdir)/unittest/mytap
|
|
|
|
# Only reason to link with libmyisam.a here is that it's where some fulltext
|
|
# pieces are (but soon we'll remove fulltext dependencies from Maria).
|
|
LDADD= $(top_builddir)/unittest/mytap/libmytap.a \
|
|
$(top_builddir)/storage/maria/libmaria.a \
|
|
$(top_builddir)/storage/myisam/libmyisam.a \
|
|
$(top_builddir)/mysys/libmysys.a \
|
|
$(top_builddir)/dbug/libdbug.a \
|
|
$(top_builddir)/strings/libmystrings.a @ZLIB_LIBS@ \
|
|
$(top_builddir)/storage/maria/ma_loghandler.o
|
|
noinst_PROGRAMS = ma_control_file-t trnman-t lockman2-t \
|
|
mf_pagecache_single_1k-t mf_pagecache_single_8k-t \
|
|
mf_pagecache_single_64k-t-big \
|
|
mf_pagecache_consist_1k-t-big \
|
|
mf_pagecache_consist_64k-t-big \
|
|
mf_pagecache_consist_1kHC-t-big \
|
|
mf_pagecache_consist_64kHC-t-big \
|
|
mf_pagecache_consist_1kRD-t-big \
|
|
mf_pagecache_consist_64kRD-t-big \
|
|
mf_pagecache_consist_1kWR-t-big \
|
|
mf_pagecache_consist_64kWR-t-big \
|
|
ma_test_loghandler-t \
|
|
ma_test_loghandler_multigroup-t \
|
|
ma_test_loghandler_multithread-t \
|
|
ma_test_loghandler_pagecache-t
|
|
|
|
ma_test_loghandler_t_SOURCES= ma_test_loghandler-t.c ma_maria_log_cleanup.c
|
|
ma_test_loghandler_multigroup_t_SOURCES= ma_test_loghandler_multigroup-t.c ma_maria_log_cleanup.c
|
|
ma_test_loghandler_multithread_t_SOURCES= ma_test_loghandler_multithread-t.c ma_maria_log_cleanup.c
|
|
ma_test_loghandler_pagecache_t_SOURCES= ma_test_loghandler_pagecache-t.c ma_maria_log_cleanup.c
|
|
|
|
mf_pagecache_single_src = mf_pagecache_single.c $(top_srcdir)/mysys/mf_pagecache.c test_file.c
|
|
mf_pagecache_consist_src = mf_pagecache_consist.c $(top_srcdir)/mysys/mf_pagecache.c test_file.c
|
|
mf_pagecache_common_cppflags = -DEXTRA_DEBUG -DPAGECACHE_DEBUG -DMAIN
|
|
|
|
mf_pagecache_single_1k_t_SOURCES = $(mf_pagecache_single_src)
|
|
mf_pagecache_single_8k_t_SOURCES = $(mf_pagecache_single_src)
|
|
mf_pagecache_single_64k_t_big_SOURCES = $(mf_pagecache_single_src)
|
|
mf_pagecache_single_1k_t_CPPFLAGS = $(mf_pagecache_common_cppflags) -DPAGE_SIZE=1024
|
|
mf_pagecache_single_8k_t_CPPFLAGS = $(mf_pagecache_common_cppflags) -DPAGE_SIZE=8192
|
|
mf_pagecache_single_64k_t_big_CPPFLAGS = $(mf_pagecache_common_cppflags) -DPAGE_SIZE=65536
|
|
|
|
mf_pagecache_consist_1k_t_big_SOURCES = $(mf_pagecache_consist_src)
|
|
mf_pagecache_consist_1k_t_big_CPPFLAGS = $(mf_pagecache_common_cppflags) -DPAGE_SIZE=1024
|
|
mf_pagecache_consist_64k_t_big_SOURCES = $(mf_pagecache_consist_src)
|
|
mf_pagecache_consist_64k_t_big_CPPFLAGS = $(mf_pagecache_common_cppflags) -DPAGE_SIZE=65536
|
|
|
|
mf_pagecache_consist_1kHC_t_big_SOURCES = $(mf_pagecache_consist_src)
|
|
mf_pagecache_consist_1kHC_t_big_CPPFLAGS = $(mf_pagecache_common_cppflags) -DPAGE_SIZE=1024 -DTEST_HIGH_CONCURENCY
|
|
mf_pagecache_consist_64kHC_t_big_SOURCES = $(mf_pagecache_consist_src)
|
|
mf_pagecache_consist_64kHC_t_big_CPPFLAGS = $(mf_pagecache_common_cppflags) -DPAGE_SIZE=65536 -DTEST_HIGH_CONCURENCY
|
|
|
|
mf_pagecache_consist_1kRD_t_big_SOURCES = $(mf_pagecache_consist_src)
|
|
mf_pagecache_consist_1kRD_t_big_CPPFLAGS = $(mf_pagecache_common_cppflags) -DPAGE_SIZE=1024 -DTEST_READERS
|
|
mf_pagecache_consist_64kRD_t_big_SOURCES = $(mf_pagecache_consist_src)
|
|
mf_pagecache_consist_64kRD_t_big_CPPFLAGS = $(mf_pagecache_common_cppflags) -DPAGE_SIZE=65536 -DTEST_READERS
|
|
|
|
mf_pagecache_consist_1kWR_t_big_SOURCES = $(mf_pagecache_consist_src)
|
|
mf_pagecache_consist_1kWR_t_big_CPPFLAGS = $(mf_pagecache_common_cppflags) -DPAGE_SIZE=1024 -DTEST_WRITERS
|
|
mf_pagecache_consist_64kWR_t_big_SOURCES = $(mf_pagecache_consist_src)
|
|
mf_pagecache_consist_64kWR_t_big_CPPFLAGS = $(mf_pagecache_common_cppflags) -DPAGE_SIZE=65536 -DTEST_WRITERS
|
|
|
|
# the generic lock manager may not be used in the end and lockman1-t crashes,
|
|
# so we don't build lockman-t and lockman1-t
|
|
CLEANFILES = maria_control page_cache_test_file_1 \
|
|
maria_log.????????
|
|
|