Skip to content

Commit

Permalink
tests: Only run evaluate on RPL examples if the stack is not empty
Browse files Browse the repository at this point in the history
Signed-off-by: Christophe de Dinechin <[email protected]>
  • Loading branch information
c3d committed Oct 28, 2024
1 parent b2d2535 commit 470a9f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9879,7 +9879,8 @@ void tests::check_help_examples()
size_t nfailures = failures.size();
testing = false;
itest(LENGTHY(20000), ENTER).noerror();
itest(LENGTHY(20000), RUNSTOP).noerror();
if (rt.depth())
itest(LENGTHY(20000), RUNSTOP).noerror();
if (!ref.empty())
{
expect(ref.c_str());
Expand Down

0 comments on commit 470a9f0

Please sign in to comment.