3883 |
24 Mar 20 |
peter |
// $Id$ |
3883 |
24 Mar 20 |
peter |
2 |
// |
3883 |
24 Mar 20 |
peter |
// Copyright (C) 2020 Peter Johansson |
3883 |
24 Mar 20 |
peter |
4 |
// |
3883 |
24 Mar 20 |
peter |
// This program is free software; you can redistribute it and/or modify |
3883 |
24 Mar 20 |
peter |
// it under the terms of the GNU General Public License as published by |
3883 |
24 Mar 20 |
peter |
// the Free Software Foundation; either version 3 of the License, or |
3883 |
24 Mar 20 |
peter |
// (at your option) any later version. |
3883 |
24 Mar 20 |
peter |
9 |
// |
3883 |
24 Mar 20 |
peter |
// This program is distributed in the hope that it will be useful, but |
3883 |
24 Mar 20 |
peter |
// WITHOUT ANY WARRANTY; without even the implied warranty of |
3883 |
24 Mar 20 |
peter |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
3883 |
24 Mar 20 |
peter |
// General Public License for more details. |
3883 |
24 Mar 20 |
peter |
14 |
// |
3883 |
24 Mar 20 |
peter |
// You should have received a copy of the GNU General Public License |
3883 |
24 Mar 20 |
peter |
// along with this program. If not, see <http://www.gnu.org/licenses/>. |
3883 |
24 Mar 20 |
peter |
17 |
|
3883 |
24 Mar 20 |
peter |
// testing that some #defines that are needed for backward |
3883 |
24 Mar 20 |
peter |
// combatibility are still present. |
3883 |
24 Mar 20 |
peter |
20 |
|
3883 |
24 Mar 20 |
peter |
21 |
#include <config.h> |
3883 |
24 Mar 20 |
peter |
22 |
|
3888 |
25 Mar 20 |
peter |
23 |
#ifdef YAT_HAVE_HTSLIB |
3883 |
24 Mar 20 |
peter |
24 |
#include <yat/omic/config_bam.h> |
3883 |
24 Mar 20 |
peter |
25 |
#include <yat/utility/config_public.h> |
3888 |
25 Mar 20 |
peter |
26 |
#endif |
3883 |
24 Mar 20 |
peter |
27 |
|
3883 |
24 Mar 20 |
peter |
28 |
#include "Suite.h" |
3883 |
24 Mar 20 |
peter |
29 |
|
3883 |
24 Mar 20 |
peter |
30 |
using namespace theplu::yat; |
3883 |
24 Mar 20 |
peter |
31 |
|
3883 |
24 Mar 20 |
peter |
32 |
int main(int argc, char* argv[]) |
3883 |
24 Mar 20 |
peter |
33 |
{ |
3888 |
25 Mar 20 |
peter |
34 |
test::Suite suite(argc, argv); |
3883 |
24 Mar 20 |
peter |
35 |
#ifdef YAT_HAVE_HTSLIB |
3883 |
24 Mar 20 |
peter |
36 |
#ifndef YAT_HAVE_LIBBAM |
3883 |
24 Mar 20 |
peter |
37 |
suite.add(false); |
3883 |
24 Mar 20 |
peter |
38 |
suite.err() << "YAT_HAVE_LIBBAM not defined\n"; |
3883 |
24 Mar 20 |
peter |
39 |
#endif |
3883 |
24 Mar 20 |
peter |
40 |
#ifndef YAT_SAM_HEADER |
3883 |
24 Mar 20 |
peter |
41 |
suite.add(false); |
3883 |
24 Mar 20 |
peter |
42 |
suite.err() << "YAT_SAM_HEADER not defined\n"; |
3883 |
24 Mar 20 |
peter |
43 |
#endif |
3883 |
24 Mar 20 |
peter |
44 |
#ifndef YAT_FAIDX_HEADER |
3883 |
24 Mar 20 |
peter |
45 |
suite.add(false); |
3883 |
24 Mar 20 |
peter |
46 |
suite.err() << "YAT_FAIDX_HEADER not defined\n"; |
3883 |
24 Mar 20 |
peter |
47 |
#endif |
3883 |
24 Mar 20 |
peter |
48 |
#else |
3883 |
24 Mar 20 |
peter |
49 |
#endif |
3883 |
24 Mar 20 |
peter |
50 |
return suite.return_value(); |
3883 |
24 Mar 20 |
peter |
51 |
} |