1/*
2 *  issue-1242.sli
3 *
4 *  This file is part of NEST.
5 *
6 *  Copyright (C) 2004 The NEST Initiative
7 *
8 *  NEST is free software: you can redistribute it and/or modify
9 *  it under the terms of the GNU General Public License as published by
10 *  the Free Software Foundation, either version 2 of the License, or
11 *  (at your option) any later version.
12 *
13 *  NEST is distributed in the hope that it will be useful,
14 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 *  GNU General Public License for more details.
17 *
18 *  You should have received a copy of the GNU General Public License
19 *  along with NEST.  If not, see <http://www.gnu.org/licenses/>.
20 *
21 */
22
23
24 /** @BeginDocumentation
25Name: testsuite::issue-1242
26
27Synopsis: (issue-1242) run -> NEST exits if test fails
28
29Description:
30Tests that a connection from a node without proxies to
31a node without proxies that has global targets throws an error
32(instead of failing silently or resulting in inconsistent results).
33
34Author: Jan Hahne
35FirstVersion: July 2019
36*/
37
38(unittest) run
39/unittest using
40
41M_ERROR setverbosity
42
43% Check if such a connection results in an exception
44{
45  ResetKernel
46
47  /spike_generator Create /sg Set
48  /volume_transmitter Create /vt Set
49  sg vt Connect
50}
51fail_or_die
52
53endusing
54