File: testsuite.at

package info (click to toggle)
igraph 0.7.1-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 19,500 kB
  • sloc: ansic: 188,142; sh: 26,731; cpp: 18,275; yacc: 1,164; makefile: 957; lex: 484; xml: 405
file content (62 lines) | stat: -rw-r--r-- 2,608 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Process this file with autom4te to create testsuite. -*- Autotest -*-

# Test suite for the IGraph library.
# Copyright (C) 2005-2012  Gabor Csardi <csardi.gabor@gmail.com>
# 334 Harvard street, Cambridge, MA 02139 USA
# 
# 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.,  51 Franklin Street, Fifth Floor, Boston, MA 
# 02110-1301 USA

AT_INIT([igraph])

m4_define([AT_COMPILE_CHECK], [
AT_CHECK([m4_if([[$4]],[[]],
	[[$CC ${abs_top_srcdir}/examples/$1 -I${abs_top_srcdir}/include -I${abs_top_builddir}/include -L${abs_top_builddir}/src/.libs -ligraph -lm $5 -o itest]], 
	[[$CC ${abs_top_srcdir}/examples/$1 -I${abs_top_srcdir}/include -I${abs_top_srcdir}/src -I${abs_top_builddir}/include -I${abs_top_builddir} -L${abs_top_builddir}/src/.libs -ligraph -lm $5 -o itest]])])
AT_CHECK([m4_if([[$2]],[[]],[[>expout]],[[cat ${abs_top_srcdir}/examples/'$2' | sed "s/@VERSION@/$(cat ${abs_top_srcdir}/VERSION)/g" > expout]])])
AT_CHECK([m4_if([[$3]],[[]],[[]],[[cp ${abs_top_srcdir}/examples/$3 .]])])
AT_CHECK([DYLD_LIBRARY_PATH=${abs_top_builddir}/src/.libs${DYLD_LIBRARY_PATH+:$DYLD_LIBRARY_PATH} LD_LIBRARY_PATH=${abs_top_builddir}/src/.libs${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH} ./itest], [], [expout])])

m4_include([version.at])
m4_include([types.at])
m4_include([basic.at])
m4_include([iterators.at])
m4_include([structure_generators.at])
m4_include([structural_properties.at])
m4_include([components.at])
m4_include([layout.at])
m4_include([visitors.at])
m4_include([topology.at])
m4_include([motifs.at])
m4_include([foreign.at])
m4_include([other.at])
m4_include([operators.at])
m4_include([conversion.at])
m4_include([flow.at])
m4_include([community.at])
m4_include([cliques.at])
m4_include([eigen.at])
m4_include([attributes.at])
m4_include([arpack.at])
m4_include([bipartite.at])
m4_include([centralization.at])
m4_include([separators.at])
m4_include([hrg.at])
m4_include([microscopic.at])
m4_include([mt.at])
m4_include([scg.at])
m4_include([random.at])
m4_include([qsort.at])
m4_include([matching.at])