it needs to be specified for the kernel/tests/tools/run_test_only.sh
script for most of the cases, since the switch to the pkg_install
method for the build and install of kunit test modules.
Fixes: fe0f4e33f6 ("ANDROID: Add kunit installation rules")
Change-Id: Ib4fbfa983ef29342119fe2ff3e939e4b8c116d49
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
The name in the kernel source is kunit-example-test,
there is no kunit-test-example defined
Fixes: df08ef1044 ("ANDROID: Add Android KUnit README")
Change-Id: I20b89b5c11ede45ef1b758c722b8bfca13e9c782
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Use pkg_install to create installation rules for kunit test modules. To
build and install kunit test modules into /tmp/kunit_tests directory run:
$ tools/bazel run -- //common:kunit_tests_x86_64_dist -v \
--destdir /tmp/kunit_tests
Also updated the kunit Android README to use this rule instead of
creating tests.zip and unzipping it.
Bug: 324907235
Change-Id: I1e611cf8cc2836cb213526aa270da6fd422f7352
Signed-off-by: Joe Fradley <joefradley@google.com>
Document how to run a KUnit test module and how to run the ACK KUnit
tests via tradefed. Also, reorganized the toos/testing/kunit/android
file and directory structure slightly. This required a tweak
BUILD.bazel.
Bug: 231159463
Change-Id: I09c47d36593e839911767112176fa84bd7e25fe4
Signed-off-by: Joe Fradley <joefradley@google.com>