Skip to content

Commit

Permalink
Now the test will ignore the stackdump if it is plotted
Browse files Browse the repository at this point in the history
  • Loading branch information
Iximiel committed Oct 10, 2023
1 parent fcd9b7f commit 5228d76
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 9 additions & 0 deletions regtest/basic/rt-NeigbourlistInitializationError/config
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
type=make

plumed_regtest_after(){
#this discards the lines like
#"(tools/NeighborList.cpp:98) void PLMD::NeighborList::initialize()"
# in this way if NeighborList.cpp is moved or modified this test won't
#trigger a (false) error
awk '/(Single|Double|neighbor) list/{print}
/Exception text/{print}' ./unitTest > unitTest.proc
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
Single list:
[100000]Exception text:
(tools/NeighborList.cpp:98) void PLMD::NeighborList::initialize()
An error happened while allocating the neighbor list, please decrease the number of atoms used
Double list, no pairs:
[100000, 90000]Exception text:
(tools/NeighborList.cpp:98) void PLMD::NeighborList::initialize()
An error happened while allocating the neighbor list, please decrease the number of atoms used

0 comments on commit 5228d76

Please sign in to comment.