-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathMakefile.am
101 lines (85 loc) · 3.39 KB
/
Makefile.am
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
## Process this file with automake to produce Makefile.in
#
# Makefile.am
#
# Automake input file.
#
# Copyright (C) 2003, 2004 Stefan Jahn <[email protected]>
#
# This 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, or (at your option)
# any later version.
#
# This software 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 package; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
# Boston, MA 02110-1301, USA.
#
AM_DISTCHECK_CONFIGURE_FLAGS=--without-gtest
# Ignore external headers and sources,
# enable branch coverage (default disabled on lcov 1.10)
CODE_COVERAGE_LCOV_OPTIONS ?= --no-external --rc lcov_branch_coverage=1 $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT)
CODE_COVERAGE_GENHTML_OPTIONS ?= --rc lcov_branch_coverage=1
@CODE_COVERAGE_RULES@
SUBDIRS = src doc tests
ACLOCAL_AMFLAGS = -I m4
nodist_pkginclude_HEADERS = qucs_typedefs.h
EXTRA_DIST = BUGS bootstrap RELEASE
pkginclude_HEADERS = config.h
CLEANFILES = *~ *.orig *.rej
MAINTAINERCLEANFILES = aclocal.m4 configure Makefile.in \
stamp-h.in stamp-h[0-9].in
DISTCLEANFILES = config.cache config.log
MOSTLYCLEANFILES = \
*.gcda *.gcno *.gcov
## Test suite
# Run with: make check
# These tests rely on the assert and bugon functions.
# The functions are used as equations on the schematic.
# Fail on these functions will abort the simulation of netlist generated
# from the schematic.
#
# See also qucs-test for another way of testing.
# https://github.com/Qucs/qucs-test.
TEST_EXTENSIONS = .net .txt
NET_LOG_COMPILER = $(top_srcdir)/tests/runqucsator.sh
AM_NET_LOG_FLAGS = $(abs_top_builddir)/src/qucsator
TESTS =
# U=RI variation
TESTS += \
tests/basic/u=ri/[email protected] \
tests/basic/u=ri/[email protected] \
tests/basic/u=ri/[email protected] \
tests/basic/u=ri/u=ri@dc+sweep.net \
tests/basic/u=ri/u=ri@ac+sweep.net \
tests/basic/u=ri/u=ri@tr+sweep.net \
tests/basic/u=ri/[email protected]
# voltage diviser
TESTS += \
tests/basic/voltagediviser/[email protected]
# component
TESTS += \
tests/basic/components/capacitor/[email protected] \
tests/basic/components/capacitor/[email protected] \
tests/basic/components/capacitor/[email protected] \
tests/basic/components/spfile/[email protected]
if USE_QUCS_TEST
TXT_LOG_COMPILER = src/qucsator
AM_TXT_LOG_FLAGS = -i
TESTS += tests/qucs-test/testsuite/DC_SW_bridge_prj/netlist.txt \
tests/qucs-test/testsuite/DC_SW_bsim4v30nMOS_Ids_Vgs_prj/netlist.txt \
tests/qucs-test/testsuite/DC_SW_bsim4v30pMOS_Ids_Vgs_prj/netlist.txt \
tests/qucs-test/testsuite/DC_SW_charac_prj/netlist.txt \
tests/qucs-test/testsuite/DC_SW_diff1_prj/netlist.txt \
tests/qucs-test/testsuite/DC_TR_SW_spice_BFR520_prj/netlist.txt
endif
# this is a VILE HACK
# (but better than nothing, for now)
dist-hook:
cp -r $(top_srcdir)/tests/basic $(distdir)/tests