Skip to content

Commit

Permalink
Merge pull request #3022 from heplesser/move-tests
Browse files Browse the repository at this point in the history
Move tests that are irrelevant post-sli to sli2py_ignore
  • Loading branch information
heplesser authored Nov 30, 2023
2 parents 453373f + 21e34e9 commit 039c7d0
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 21 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
/unittest using

% preparatory work for proper test code in case NEST is complied with MPI support
% For now we just ignore this test, this will later be replaced
% For now we just ignore this test, this will later be replaced
% by a restart of NEST with a serial binary.
skip_if_have_mpi

Expand All @@ -46,4 +46,4 @@ skip_if_have_mpi
{token_is} failbutnocrash_or_die
{setguard} failbutnocrash_or_die

endusing
endusing
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Synopsis: (ticket-475) run -> NEST exits if test fails
Description:
Compilation on Stallo with icpc 11.1 cause crashed when collecting data across
threads.

Author: Hans Ekkehard Plesser, 2010-10-11
*/

Expand All @@ -40,10 +40,10 @@ M_INFO setverbosity


{
/spike_recorder Create
/spike_recorder Create
% sd ShowStatus
%10 Simulate
% sd GetStatus
} pass_or_die

endusing
endusing
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ Name: testsuite::ticket-537 - Regression test for memory allocation/free error i
Synopsis: (ticket-537) run -> NEST exits if test fails

Description:
This test detects a memory allocation/freeing problem introduced with the SLI modernization per r9458.
This test detects a memory allocation/freeing problem introduced with the SLI modernization per r9458.
This bug occurred only on certain Linux platforms.

Author: Hans Ekkehard Plesser, 2012-01-12, based on reproduces by Marc-Oliver Gewaltig
*/

Expand Down Expand Up @@ -58,4 +58,4 @@ pass_or_die
pass_or_die


endusing
endusing
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ Name: testsuite::ticket-580 - getinterval: No error if range of array is exceede

Synopsis: (ticket-564) run -> NEST exits if test fails

Description:
1) This test checks whether the sli functions getinterval and Take perform Range Checks, i.e. whether they throw errors if the requested part of the interval exceeds the original array or not.
Description:
1) This test checks whether the sli functions getinterval and Take perform Range Checks, i.e. whether they throw errors if the requested part of the interval exceeds the original array or not.
2) Furthermore, it checks whether getinterval throws an error if negative indices are given and whether Takes does not throw an error.
3) Checks whether Take returns an empty array if n_2 < n_1

In addition, it checks whether they return the same results for a correct usage.

Author: Maximilian Schmidt, 2012-10-16
*/

Expand All @@ -46,7 +46,7 @@ M_ERROR setverbosity
(Hallo) /y Set


{
{
x [1 4] Take
} fail_or_die

Expand All @@ -70,7 +70,7 @@ M_ERROR setverbosity
[] eq
} assert_or_die

{
{
x 0 4 getinterval
} fail_or_die

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ This test verify that neq returns false when two intvectors or two double vector
/unittest using

<# 1 2 3 #> <# 1 2 3 #> neq false eq assert_or_die
<. 1 2 3 .> <. 1 2 3 .> neq false eq assert_or_die
<. 1 2 3 .> <. 1 2 3 .> neq false eq assert_or_die
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,3 @@ Author: Marc-Oliver Gewaltig, 2013-12-25
clear
{ xor } fail_or_die % no arguments
[ 1 1.0 (a) [] ] { {xor} stopped {errordict /newerror false put} { 3 quit_i } ifelse clear } forall


Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,8 @@ Author: Marc-Oliver Gewaltig, 2013-12-25
clear

% the next test shows that {1 neq} produces an error
{1 neq } stopped {errordict /newerror false put} { 3 quit_i } ifelse
clear
{1 neq } stopped {errordict /newerror false put} { 3 quit_i } ifelse
clear

% the next test shows that the error is not caught by fail_or_die
{ 1 neq } fail_or_die % this one breaks



File renamed without changes.

0 comments on commit 039c7d0

Please sign in to comment.