summaryrefslogtreecommitdiff
path: root/tools/testing/kunit/test_data
diff options
context:
space:
mode:
authorUriel Guajardo <urielguajardo@google.com>2020-06-11 21:05:45 +0000
committerShuah Khan <skhan@linuxfoundation.org>2020-06-26 14:29:10 -0600
commite173b8b8c419897eabe0e337a0125c6d87ef1644 (patch)
tree95ba78146950ab18acc6d2b59f329d0703de7b02 /tools/testing/kunit/test_data
parent3f37d14b8a3152441f36b6bc74000996679f0998 (diff)
kunit: show error if kunit results are not present
Currently, if the kernel is configured incorrectly or if it crashes before any kunit tests are run, kunit finishes without error, reporting that 0 test cases were run. To fix this, an error is shown when the tap header is not found, which indicates that kunit was not able to run at all. Signed-off-by: Uriel Guajardo <urielguajardo@google.com> Reviewed-by: Brendan Higgins <brendanhiggins@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/kunit/test_data')
-rw-r--r--tools/testing/kunit/test_data/test_insufficient_memory.log0
1 files changed, 0 insertions, 0 deletions
diff --git a/tools/testing/kunit/test_data/test_insufficient_memory.log b/tools/testing/kunit/test_data/test_insufficient_memory.log
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/tools/testing/kunit/test_data/test_insufficient_memory.log