]> git.baikalelectronics.ru Git - kernel.git/commit
kunit: testing kunit: Bug fix in test_run_timeout function
authorHeidi Fahim <heidifahim@google.com>
Mon, 2 Dec 2019 23:53:29 +0000 (15:53 -0800)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 9 Dec 2019 18:20:36 +0000 (11:20 -0700)
commitf4076bcef784d89408f97670862fa6f064a9a5dc
tree7d60ee6f07dea34a9390db2ed20a178924fa34bf
parent83c857914ce94a641789223951f6aa57e85df319
kunit: testing kunit: Bug fix in test_run_timeout function

Assert in test_run_timeout was not updated with the build_dir argument
and caused the following error:
AssertionError: Expected call: run_kernel(timeout=3453)
Actual call: run_kernel(build_dir=None, timeout=3453)

Needed to update kunit_tool_test to reflect this fix
https://lkml.org/lkml/2019/9/6/351

Signed-off-by: Heidi Fahim <heidifahim@google.com>
Reviewed-by: SeongJae Park <sjpark@amazon.de>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Tested-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/kunit/kunit_tool_test.py