diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2023-03-27 13:53:31 +0200 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2023-03-30 02:55:41 +0200 |
commit | 7232282dd47cce6a780c9414bd9baccf232c7686 (patch) | |
tree | efbc8221fc3d728f37e2fdc4b6478de21a64cd2f /include/kunit | |
parent | kunit: Use gfp in kunit_alloc_resource() kernel-doc (diff) | |
download | linux-7232282dd47cce6a780c9414bd9baccf232c7686.tar.xz linux-7232282dd47cce6a780c9414bd9baccf232c7686.zip |
kunit: increase KUNIT_LOG_SIZE to 2048 bytes
The s390 specific test_unwind kunit test has 39 parameterized tests. The
results in debugfs are truncated since the full log doesn't fit into 1500
bytes.
Therefore increase KUNIT_LOG_SIZE to 2048 bytes in a similar way like it
was done recently with commit "kunit: fix bug in debugfs logs of
parameterized tests". With that the whole test result is present.
Reported-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Rae Moar <rmoar@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'include/kunit')
-rw-r--r-- | include/kunit/test.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kunit/test.h b/include/kunit/test.h index 9721584027d8..57b309c6ca27 100644 --- a/include/kunit/test.h +++ b/include/kunit/test.h @@ -34,7 +34,7 @@ DECLARE_STATIC_KEY_FALSE(kunit_running); struct kunit; /* Size of log associated with test. */ -#define KUNIT_LOG_SIZE 1500 +#define KUNIT_LOG_SIZE 2048 /* Maximum size of parameter description string. */ #define KUNIT_PARAM_DESC_SIZE 128 |