source: trunk/test/Makefile.am @ 2341

Last change on this file since 2341 was 2341, checked in by Peter, 13 years ago

New namespace omic and new class omic::DNA. closes #377

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.1 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 2341 2010-10-17 02:30:07Z peter $
4
5# Copyright (C) 2003 Daniel Dalevi, Jari Häkkinen
6# Copyright (C) 2004 Jari Häkkinen, Peter Johansson, Cecilia Ritz
7# Copyright (C) 2005 Jari Häkkinen, Peter Johansson
8# Copyright (C) 2006, 2007, 2008 Jari Häkkinen, Peter Johansson, Markus Ringnér
9# Copyright (C) 2009, 2010 Peter Johansson
10#
11# This file is part of the yat library, http://dev.thep.lu.se/yat
12#
13# The yat library is free software; you can redistribute it
14# and/or modify it under the terms of the GNU General Public License as
15# published by the Free Software Foundation; either version 3 of the
16# License, or (at your option) any later version.
17#
18# The yat library is distributed in the hope that it will be useful,
19# but WITHOUT ANY WARRANTY; without even the implied warranty of
20# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
21# General Public License for more details.
22#
23# You should have received a copy of the GNU General Public License
24# along with yat. If not, see <http://www.gnu.org/licenses/>.
25
26SUBDIRS = data
27
28## we use suffix .cc for all source
29AM_DEFAULT_SOURCE_EXT = .cc
30
31noinst_HEADERS = Suite.h
32
33check_LTLIBRARIES = libyattest.la
34
35check_SCRIPTS = common_defs.sh
36
37.PHONY: FORCE
38
39clean-local:; rm -rf yathello testSubDir
40
41FORCE:
42
43yathello: create_yathello.sh $(top_srcdir)/m4/yat.m4
44  ./create_yathello.sh
45
46# testing autoconf macro YAT_CHECK_YAT on an installed yat (the bindir
47# argument requires some care).
48yat_check_yat_test: yathello FORCE
49  cd yathello && autoreconf -sivf && \
50  ./configure --with-yat=$(bindir) && $(MAKE) check
51
52EXTRA_PROGRAMS = alignment_test averager_test \
53  commandline_test \
54  concept_test \
55  consensus_inputranker_test data_lookup_1d_test  \
56  data_weight_test data_weight_proxy_test distance_test \
57  dna_test ensemble_test feature_selection_test fileutil_test \
58  fisher_test getline_iterator_test histogram_test \
59  igp_test index_test inputranker_test interpolation_test \
60  iterator_test kernel_lookup_test kernel_pca_test kernel_test \
61  knn_test kolmogorov_smirnov_test large_file_test matrix_lookup_test \
62  matrix_lookup_weighted_test matrix_test \
63  matrix_weighted_test merge_test nbc_test \
64  ncc_test nni_test normalization_test pca_test \
65  range_test regression_test rnd_test roc_test \
66  score_test  segment_test smart_ptr_test   \
67  smoother_test split_test statistics_test stream_redirect_test \
68  subset_generator_test svd_test svm_test \
69  svm_multi_class_test target_test  \
70  ttest_test \
71  utility_test vector_test version_test view_test
72
73TESTS = $(EXTRA_PROGRAMS)
74CLEANFILES = $(EXTRA_PROGRAMS)
75
76# tests not passing through yet
77XFAIL_TESTS =
78
79TESTS += documentation_test.sh
80
81DISTRIBUTED_TESTS = \
82static_test.sh \
83yat_config_cblas_test.sh \
84yat_cpp_add_flag_test.sh \
85yat_cxx_add_flag_test.sh \
86yat_ld_add_flag_test.sh \
87yat_lt_link_ifelse_test.sh \
88yat_m4_test.sh \
89yat_m4_test2.sh
90
91TESTS += $(DISTRIBUTED_TESTS)
92EXTRA_DIST = $(DISTRIBUTED_TESTS)
93
94TEST_EXTENSIONS = .sh
95
96LDADD = $(top_builddir)/yat/libyat.la libyattest.la $(YAT_LIBS)
97
98libyattest_la_SOURCES = Suite.cc
99
100lazycheck:; $(MAKE) $(AM_MAKEFLAGS) check RECHECK_LOGS=
101
102# dependencies for lazycheck
103static_test.log: $(top_srcdir)/m4/yat.m4 common_defs.sh
104yat_config_cblas_test.log: $(top_builddir)/build_support/yat-config \
105  common_defs.sh
106yat_cpp_add_flag_test.log: $(top_srcdir)/m4/yat_add_flag.m4 \
107  $(top_srcdir)/m4/ax_cxxcpp_check_flag.m4 common_defs.sh
108yat_cxx_add_flag_test.log: $(top_srcdir)/m4/yat_add_flag.m4 \
109  $(top_srcdir)/m4/ax_cxx_check_flag.m4 common_defs.sh
110yat_ld_add_flag_test.log: $(top_srcdir)/m4/yat_add_flag.m4 \
111  $(top_srcdir)/m4/ax_ld_check_flag.m4 common_defs.sh
112yat_m4_test.log:$(top_srcdir)/m4/yat.m4 common_defs.sh \
113  $(top_builddir)/build_support/yat-config
114yat_m4_test2.log:$(top_srcdir)/m4/yat.m4 common_defs.sh
115
116## We always rerun documentation_test. When sources for doxygen have
117## not changed and a rerun would not be needed, the test is very
118## inexpensive because 'make doc' will not run anything, in other
119## words, we always run the test but let the logic for 'make doc' take
120## care of whether doxygen will run or not.
121documentation_test.log: FORCE
Note: See TracBrowser for help on using the repository browser.