-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uadk_tool: add comp test #643
base: master
Are you sure you want to change the base?
Commits on Nov 21, 2024
-
uadk_tool: test: change the comp_test directory to uadk_tool
Now the uadk_tool is the unified test tool but comp test is still in the test/hisi_zip_test, and out of maintained for a long time. Change the directory is the first step for refactoring the test tool. Use this cmd for help: uadk_tool test --m zip --help Signed-off-by: Hao Fang <fanghao11@huawei.com> Signed-off-by: Qi Tao <taoqi10@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 658f1f6 - Browse repository at this point
Copy the full SHA 658f1f6View commit details -
uadk_tool: test: unified the log print
Add DEBUG_LOG macro to control dbg print. Use the COMP_TST_PRT() to unified the err log print. Signed-off-by: Hao Fang <fanghao11@huawei.com> Signed-off-by: Qi Tao <taoqi10@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for f1f2138 - Browse repository at this point
Copy the full SHA f1f2138View commit details -
uadk_tool: test: remove comp test unused cmd
Remove the -F/-n/-v cmd. Signed-off-by: Hao Fang <fanghao11@huawei.com> Signed-off-by: Qi Tao <taoqi10@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for b86d797 - Browse repository at this point
Copy the full SHA b86d797View commit details -
uadk_tool: test: comp test remove the --ilist_olist cmd
The cmd --ilist and --olist just use for compress file in block mode, but the block mode can be verified by the memory buffer compress testcase. Just remove the self defined protocol will simplified the tool. Signed-off-by: Hao Fang <fanghao11@huawei.com> Signed-off-by: Qi Tao <taoqi10@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 333542f - Browse repository at this point
Copy the full SHA 333542fView commit details -
uadk_tool: test: remove unuse functions in comp_lib
Signed-off-by: Hao Fang <fanghao11@huawei.com> Signed-off-by: Qi Tao <taoqi10@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 18c12ce - Browse repository at this point
Copy the full SHA 18c12ceView commit details -
uadk_tool: test: reduce duplicate code in hw_blk_compress
hw_blk_compress/hw_stream_compress can do the double direction compress. Signed-off-by: Hao Fang <fanghao11@huawei.com> Signed-off-by: Qi Tao <taoqi10@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 8f4e93c - Browse repository at this point
Copy the full SHA 8f4e93cView commit details -
uadk_tool: test: comp test remove poll_thread_func
Remove the poll_thread_func() and rename poll2_thread_func() as the poll_thread_func(). Signed-off-by: Hao Fang <fanghao11@huawei.com> Signed-off-by: Qi Tao <taoqi10@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for a8851ec - Browse repository at this point
Copy the full SHA a8851ecView commit details -
uadk_tool: test: comp test remove the number in function name
The devil numbers in function name is hard to read. Signed-off-by: Hao Fang <fanghao11@huawei.com> Signed-off-by: Qi Tao <taoqi10@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for b7d16a8 - Browse repository at this point
Copy the full SHA b7d16a8View commit details -
uadk_tool: test: comp test remove the batch mode
Signed-off-by: Hao Fang <fanghao11@huawei.com> Signed-off-by: Qi Tao <taoqi10@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 64fe9ef - Browse repository at this point
Copy the full SHA 64fe9efView commit details -
uadk_tool: test: comp test remove the send_thread_func
Remove the redundant send_thread_func(), the kill and zlib test case is still reserved can be added in other function flow. Signed-off-by: Hao Fang <fanghao11@huawei.com> Signed-off-by: Qi Tao <taoqi10@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 73dea83 - Browse repository at this point
Copy the full SHA 73dea83View commit details -
uadk_tool: comp test: move info
Signed-off-by: Hao Fang <fanghao11@huawei.com> Signed-off-by: Qi Tao <taoqi10@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 07383db - Browse repository at this point
Copy the full SHA 07383dbView commit details -
uadk_tool: comp test: simplified the test_hw function
Function wraped like: uadk_res_init(), prepare_src_data(), perfdata_print(). And alloc/free of data memory are optimized. Signed-off-by: Hao Fang <fanghao11@huawei.com> Signed-off-by: Qi Tao <taoqi10@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 746f150 - Browse repository at this point
Copy the full SHA 746f150View commit details -
uadk_tool: comp test: unified the test cmd format
The old format: Such as: uadk_tool --m zip -b 8192 -s 8192000 -t 8 New: uadk_tool --m zip --blksize 8192 --size 8192000 --thread 8 Signed-off-by: Hao Fang <fanghao11@huawei.com> Signed-off-by: Qi Tao <taoqi10@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 034428d - Browse repository at this point
Copy the full SHA 034428dView commit details -
uadk_tool: comp test: some fixes found with checkpatch
1.fixes found with chechpatch. 2.code format alignment. Signed-off-by: Hao Fang <fanghao11@huawei.com> Signed-off-by: Qi Tao <taoqi10@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 874caab - Browse repository at this point
Copy the full SHA 874caabView commit details