From b6d7cdc30708637ae9aca993573fcc298a1998fe Mon Sep 17 00:00:00 2001 From: chrchr-github <78114321+chrchr-github@users.noreply.github.com> Date: Mon, 18 Mar 2024 21:16:10 +0100 Subject: [PATCH] Speed up performance test (fails on slow runners) --- test/cli/performance_test.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/cli/performance_test.py b/test/cli/performance_test.py index 66b9de70ee3..7311f036261 100644 --- a/test/cli/performance_test.py +++ b/test/cli/performance_test.py @@ -212,11 +212,10 @@ def test_slow_many_scopes(tmpdir): #define BLOCK16 BLOCK8 BLOCK8 #define BLOCK32 BLOCK16 BLOCK16 #define BLOCK64 BLOCK32 BLOCK32 - #define BLOCK128 BLOCK64 BLOCK64 int main() { char cmp[5]; memset(cmp, '\376', sizeof cmp); - BLOCK128 + BLOCK64 return EXIT_SUCCESS; }""") cppcheck([filename]) # should not take more than ~1 second