GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: Testing/meet/buildinfo.c Lines: 21 21 100.0 %
Date: 2017-05-26 Branches: 2 2 100.0 %

Line Branch Exec Source
1
/*
2
  Teem: Tools to process and visualize scientific data and images             .
3
  Copyright (C) 2013, 2012, 2011, 2010, 2009  University of Chicago
4
  Copyright (C) 2008, 2007, 2006, 2005  Gordon Kindlmann
5
  Copyright (C) 2004, 2003, 2002, 2001, 2000, 1999, 1998  University of Utah
6
7
  This library is free software; you can redistribute it and/or
8
  modify it under the terms of the GNU Lesser General Public License
9
  (LGPL) as published by the Free Software Foundation; either
10
  version 2.1 of the License, or (at your option) any later version.
11
  The terms of redistributing and/or modifying this software also
12
  include exceptions to the LGPL that facilitate static linking.
13
14
  This library is distributed in the hope that it will be useful,
15
  but WITHOUT ANY WARRANTY; without even the implied warranty of
16
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17
  Lesser General Public License for more details.
18
19
  You should have received a copy of the GNU Lesser General Public License
20
  along with this library; if not, write to Free Software Foundation, Inc.,
21
  51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
22
*/
23
24
#include "teem/meet.h"
25
26
/*
27
** describes how this Teem was built
28
*/
29
30
int
31
main(int argc, const char **argv) {
32
  unsigned int ii;
33
#if defined(TEEM_BUILD_EXPERIMENTAL_LIBS)
34
  char explibs[] = "*ON!*";
35
#else
36
2
  char explibs[] = "_off_";
37
#endif
38
39
  /* apparently TEEM_BUILD_EXPERIMENTAL_APPS is not disclosed to
40
     the compilation of this file? */
41
#if defined(TEEM_BUILD_EXPERIMENTAL_APPS)
42
  char expapps[] = "*ON!*";
43
#else
44
1
  char expapps[] = "_off_";
45
#endif
46
47
1
  char stmp1[AIR_STRLEN_SMALL], stmp2[AIR_STRLEN_SMALL];
48
  AIR_UNUSED(argc);
49
  AIR_UNUSED(argv);
50
51
1
  printf("Teem version %s, %s\n", airTeemVersion, airTeemReleaseDate);
52
53
  /* some of the things from airSanity */
54
1
  printf("airMyEndian() == %d\n", airMyEndian());
55
1
  printf("AIR_QNANHIBIT == %d\n", AIR_QNANHIBIT);
56
1
  printf("sizeof(size_t) = %s; sizeof(void*) = %s\n",
57
1
         airSprintSize_t(stmp1, sizeof(size_t)),
58
1
         airSprintSize_t(stmp2, sizeof(void*)));
59
60
1
  printf("experimental libs %s; apps %s\n", explibs, expapps);
61
1
  printf("libs = ");
62
  ii = 0;
63
1
  do {
64
17
    printf("%s ", meetTeemLibs[ii]);
65
17
    ii++;
66
17
  } while (meetTeemLibs[ii]);
67
1
  printf("(%u)\n", ii);
68
69
1
  printf("airThreadCapable = %d\n", airThreadCapable);
70
71
1
  printf("nrrdFFTWEnabled = %d\n", nrrdFFTWEnabled);
72
73
#if TEEM_LEVMAR
74
  printf("yes, TEEM_LEVMAR #defined\n");
75
#else
76
1
  printf(" no, TEEM_LEVMAR not #defined\n");
77
#endif
78
79
1
  return 0;
80
1
}