diff options
author | 2020-11-02 15:23:04 -0800 | |
---|---|---|
committer | 2020-11-10 13:45:15 -0700 | |
commit | 3084db0e0d5076cd48408274ab0911cd3ccdae88 (patch) | |
tree | b4b67bcd3334881dfd2d13c5cda427cab7ed1570 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | kunit: tool: fix extra trailing \n in raw + parsed test output (diff) | |
download | wireguard-linux-3084db0e0d5076cd48408274ab0911cd3ccdae88.tar.xz wireguard-linux-3084db0e0d5076cd48408274ab0911cd3ccdae88.zip |
kunit: fix display of failed expectations for strings
Currently the following expectation
KUNIT_EXPECT_STREQ(test, "hi", "bye");
will produce:
Expected "hi" == "bye", but
"hi" == 1625079497
"bye" == 1625079500
After this patch:
Expected "hi" == "bye", but
"hi" == hi
"bye" == bye
KUNIT_INIT_BINARY_STR_ASSERT_STRUCT() was written but just mistakenly
not actually used by KUNIT_EXPECT_STREQ() and friends.
Signed-off-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Tested-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions