aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-02-13Add gitreview file for Quirky Quillback branchquillbackJan-Simon Moeller1-1/+1
Update the .gitreview file. Bug-AGL: SPEC-5071 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Id96390c61142170fdf6fc78cd5e86e41d14e116e
2023-09-28agl-test-framework: add ptest tarQiu Tingting2-0/+27
Add ptest tar in agl-test-framework. Testing costs 10.5m. Bug-AGL: SPEC-4753 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: I2cc5b5bd3f315276208cf5e67e8cf96253960fa0
2023-09-01agl-test-framework: add ptest xzQiu Tingting2-0/+27
Add ptest xz in agl-test-framework. Testing costs 2s. Bug-AGL: SPEC-4753 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: I836a6aea2c75f020f211cb0ca495de7f1a64a81f
2023-08-23agl-test-framework: add ptest fontconfigQiu Tingting2-0/+27
Add ptest fontconfig in agl-test-framework. Testing costs 10s. Bug-AGL: SPEC-4753 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: I113c0b593fe9efdebb408bcaaea9a4726d8de109
2023-07-21agl-test-framework: add ptest curlQiu Tingting3-0/+73
Add ptest curl in agl-test-framework. Testing costs 280s. Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: Iae2272d1cf7064326b65e4c4f61c481f99554c88
2023-06-30agl-test-framework: add ptest kbdQiu Tingting3-0/+61
Add ptest kbd in agl-test-framework. Testing costs 6s. Bug-AGL: SPEC-4753 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: I5a0e7efeb0c38c4ba96d472affa66cf5bcf381fa
2023-05-30agl-test-framework: add ptest flexQiu Tingting2-0/+27
Add ptest flex in agl-test-framework. Testing costs 8s. Bug-AGL: SPEC-4753 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: I62beb386b6d9f3ad4919efab6221937e422e6843
2023-05-18agl-test-framework: change default log modeYan1-5/+5
change default logging mode to "slim". the old default mode, which was "default", is not any more. We change the default logging mode to "slim", which means delete temp files per case. also not to make users missunderstanding the meaning, old option name "default" is now named as "origin". Bug-AGL: SPEC-4753 Signed-off-by: Yan <yanxk.fnst@fujitsu.com> Change-Id: I98ab15935970ab0298e8fe972ba9a8ecd3eca722
2023-05-16agl-test-framework: add ptest gawkQiu Tingting2-0/+33
Add ptest gawk in agl-test-framework. Testing costs 72s. Bug-AGL: SPEC-4753 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: I8d49c4c31eb5cee626ad016747495c1808d7ad63
2023-05-15agl-test-framework: add ptest gdbmQiu Tingting3-0/+56
Add ptest gdbm in agl-test-framework. Testing costs 5s. Bug-AGL: SPEC-4753 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: Ieb91a394373a4140ca29214ec26f5133f8896b08
2023-05-09agl-test-framework: add ptest "babetrace2"Yan2-0/+28
add ptest babetrace2 into framework. Bug-AGL: SPEC-4753 Signed-off-by: Yan <yanxk.fnst@fujitsu.com> Change-Id: I4ec3e2d763f6b5a2712c334e8c838acdd53e7872
2023-05-06agl-test-framework: add ptest support of luaQiu Tingting2-0/+27
Add ptest support of lua in agl-test-framework. Testing costs 5s. Bug-AGL: SPEC-4753 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: I63415435a6fa9c83f93f82b03029787c35ca0a7e
2023-05-05agl-test-framework: add ptest support of lz4Qiu Tingting2-0/+27
Add ptest support of lz4 in agl-test-framework. Testing costs 1 hour 5 minutes. Bug-AGL: SPEC-4753 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: I8905843689cf26fb815615aa84aaa3018fe46fc2
2023-04-28agl-test-framework: add ptest e2fsprogsQiu Tingting2-0/+27
Add ptest e2fsprogs in agl-test-framework. Testing costs 9 minutes. Bug-AGL: SPEC-4753 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: I6a89ee017a50b890169df366e90e921d2d972e1b
2023-04-27agl-test-framework: add ptest babeltraceYan2-0/+28
Add ptest babeltrace in agl-test-framework. Bug-AGL: SPEC-4753 Signed-off-by: Yan <yanxk.fnst@fujitsu.com> Change-Id: I8ef9cfb2dc37f647f0417400bfa715e662dbd610
2023-04-26agl-test-framework: add ptest diffutilsQiu Tingting3-0/+40
Add ptest diffutils in agl-test-framework. Testing costs 10s. Bug-AGL: SPEC-4753 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: I9a3323ccbe151a72330aa725321dfbbbd0328532
2023-04-26agl-test-framework: add ptest coreutilsQiu Tingting2-0/+41
Add ptest coreutils in agl-test-framework. Testing costs 11 minutes. Bug-AGL: SPEC-4753 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: I8ff410c53aea0a4682424b231511c53677d7fae6
2023-04-26agl-test-framework: add ptest gstreamerQiu Tingting2-0/+30
Add ptest gstreamer in agl-test-framework. Testing costs 2 minutes. Bug-AGL: SPEC-4753 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: I50dea3ef6fed2879b0e9a221df8bdb7c7d239f95
2023-04-26tests: add precheck func for test suites under LTPduerpei5-3/+15
Add precheck func for test suites under LTP. Ensure that the test suites could be skipped if the test conditions are not met. Bug-AGL: SPEC-4755 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: Ib605a2109d04dd4f8544ef9a10f63c172489e827
2023-04-21agl-test-framework: Optimize common function log_processQiu Tingting19-268/+43
Add new commone function log_process_gnu for the following tests: acl attr bash bc bluez5 busybox cpio libpam libxml2 zlib SPEC-4758 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: I92de3b781badac9cb6d55acd5cc0c601dc4a7c65
2023-04-18ltp/cve : set environment variablesduerpei1-0/+15
If the kernel config file cannot be found, set the environment variable "KCONFIG_SKIP_CHECK" = "True" to avoid some case errors in ltp/cve. The format of the case error report is as follows: <<<test_output>>> incrementing stop tst_kconfig.c:65: TINFO: Couldn't locate kernel config! tst_kconfig.c:201: TBROK: Cannot parse kernel .config Bug-AGL: SPEC-4755 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: Idbe419ee2938436196893389c69a706b0083431e
2023-04-14agl-test-framework: add ptest bluez5Qiu Tingting3-0/+47
Add ptest bluez5 in agl-test-framework. Testing costs 36s. Bug-AGL: SPEC-4753 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: I9a6c548f28db761883845f40e3fcd612574946c5
2023-04-11agl-test-framework: add ptest attrQiu Tingting2-0/+38
Add ptest attr in agl-test-framework. Testing costs 7s. Bug-AGL: SPEC-4753 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: I9f4b74331dac5db4ba64ce56d268fd856d7ad8b9
2023-04-11agl-test-framework: add ptest aclQiu Tingting4-2/+44
Add ptest acl in agl-test-framework. Testing costs 1m46s. Bug-AGL: SPEC-4753 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: Id43d68b85f560625407971f01322a45aef9a53cf
2023-04-03agl-test-framework: add ptest json-glibYan2-0/+30
add json-glib ptest into agl-test-framework. Bug-AGL: SPEC-4733 Signed-off-by: Yan <yanxk.fnst@fujitsu.com> Change-Id: I03ef4122fbef0c6cee3eec5e5d23915698b35e51
2023-03-31agl-test-framework: add LOG_MODE optionsYan3-0/+57
add new options: "default", "slim", "clear". users can use export LOG_MODE="" to control how the framework would delete all its temp files or folders. "default": no influence, nothing would be removed. "slim": test self-owned temp files and folders removed. "clear": clean up each and every temp files and folders. Bug-AGL: SPEC-4733 Signed-off-by: Yan <yanxk.fnst@fujitsu.com> Change-Id: Ia3d8c2a971bbf97749448f732e848d9d15193459
2023-03-08agl-test-framework: solve bugs in the test frameworkduerpei11-179/+275
Fixed problems: 1.When all the executed test suites are skipped, no new summary- report is generated. 2.When there is test suite successfully executed, the generated summary-report will contain the test suites which have logs in the "/tmp-log" directory, rather than just the test suites which has just executed. Correction method: 1.Move the function in "conftest.py" to "agl_test_report.py" and call it in the "agl-test" script to ensure that the function will be executed. 2.Set the timestamp to record the information of each executed test suite or skipped test suite to the file of "test_list_timestamp". And generate a summar-report according to the above file. Bug-AGL: SPEC-4345 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: I47bfd09706e37ce6bdc13f3f9f266bc62f74f777
2023-07-22agl-test-framework: add "cpio"yanxk3-0/+66
it is new ptest, newly supported in YP master-next by us, now we add it into our test framework. sample output: tests/cpio/run_tests.py::test_cpio[cpio version ] PASSED tests/cpio/run_tests.py::test_cpio[basic functionality: copyin/copyout ] PASSED tests/cpio/run_tests.py::test_cpio[symlink ] PASSED Bug-AGL: SPEC-4345 Signed-off-by: yanxk <yanxk.fnst@fujitsu.com> Change-Id: I08d8c18c1f1f4ec7df5f5447e6177490958fad37
2023-07-17agl-test-framework: add memory test "linus_stress"yanxk2-0/+55
this test was part of core test, testing memory. it is now part of agl-test-framework. Bug-AGL: SPEC-4345 Signed-off-by: yanxk <yanxk.fnst@fujitsu.com> Change-Id: I04caa643c440de18707ea112c655f694fc62f257
2023-07-12agl-test-framework: replace "-" with "_"duerpei7-2/+2
Replace "-" with "_" in the name of the directory to solve the following errors when running agl-test: import file mismatch: imported module 'run_tests' has this __file__ attribute: /usr/AGL/agl-test/tests/aio-stress/run_tests.py which is not the same as the test file we want to collect: /usr/AGL/agl-test/tests/gdk-pixbuf/run_tests.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules Bug-AGL: SPEC-4345 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: Id8028dfbda618a9b7858602d3832bf2eb7f7ef5e
2021-03-30agl-test-framework: add LTP syscalls tests into frameworkyanxk5-1/+91
syscalls in LTP version 20220121 contains some bugs, those have been adjusted in order to provide trustable test reports. Bug-AGL: SPEC-4345 Signed-off-by: yanxk <yanxk.fnst@fujitsu.com> Change-Id: I41aba8e64e9b916066f9a60ffac863ffdbabbf47
2023-01-23agl-test-framework: fix bug caused by prefixyanxk1-2/+2
prefix should be set to 'LTP/', otherwise the get_workdir() method in class AGLBaseTest would not work. Bug-AGL: SPEC-4345 Signed-off-by: yanxk <yanxk.fnst@fujitsu.com> Change-Id: I8a9eeaa78acde2fc6a8f085c0bcdef3b5b800b45
2023-01-23agl-test-framework: fix pytest warningyanxk1-1/+1
fix a pytest warning caused by missing escape character. Bug-AGL: SPEC-4345 Signed-off-by: yanxk <yanxk.fnst@fujitsu.com> Change-Id: Iec8a4faf09322b6518409cb575d0149cad6d34a9
2023-01-20agl-test-framework: enable ptest of 'busybox'duerpei4-0/+78
Enable the test suite of 'busybox' from ptest Bug-AGL: SPEC-4345 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: I960f013d47f893f65766628da443ad6dce6f1009
2023-01-20agl-test-framework: optimize the generated html reportduerpei4-140/+271
Optimize the generated html report, make its format more beautiful and readable. Bug-AGL: SPEC-4345 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: I0b779e0998ded00b348e23f2c1ac5b8acf5b8fd8
2023-01-18agl-test-framework: add posix conformance testsyanxk2-0/+109
conformance tests from Open Posix Test Suite is added into agl-test now. Bug-AGL: SPEC-4345 Signed-off-by: yanxk <yanxk.fnst@fujitsu.com> Change-Id: I4da7dbc2cd423c0de01f9ee53651f5590181e68b
2023-01-17agl-test-framework: add new functions for LTP classduerpei1-9/+14
Add new function of "get_log_path" and "get_log_file" for LTP class. Change the judgment rule in "run_test_fun" to make it more reasonable. Bug-AGL: SPEC-4345 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: Id2e805046fe48551f910f04ad1dcfca5c76b8019
2023-01-16agl-test-framework: rewrite the func that generates html fileduerpei2-85/+84
Rewrite the function that generates the "summary-report.html" to make the generated "summary-report.html" file more standard. In the new function, pyhton's jinja2 module is used. And a new html template file is added under the "templates" directory. Bug-AGL: SPEC-4345 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: I5bcba9f8068120f791cc34754747993d37b65ce8
2023-01-13agl-test-framework: add script for ltp/cveduerpei2-0/+24
Add run_test.py script for the test suite of ltp/cve, the script used the class of LTPBase. Bug-AGL: SPEC-4345 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: I4eb27c18f1b49f51308f531b687c46f736461f5e
2023-01-13agl-test-framework: make sure "crashme" would have return valueyanxk1-0/+30
a fact is "crashme" would crash qemux86 under mid or high level, but low level looks fine, we provide kill -15 solution to solve "no return" hang up. so there will always be a return value. Bug-AGL: SPEC-4345 Signed-off-by: yanxk <yanxk.fnst@fujitsu.com> Change-Id: I3d9ebb64b8b57a64d0ca002f20cf908141099ad6
2022-10-12agl-test-framework: add LTPBase classduerpei4-0/+154
Add LTPBase class for test suites from LTP(linux-test-project). The LTPBase inherits from AGLBaseTest class. It contains some common functions, which are used to run the test suites from LTP and process the log. It makes it easy to support test suites from LTP. And add run_test scripts for the test suite of ltp/math, the scripts used the class of LTPBase. Bug-AGL: SPEC-4345 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: I683aaca37ddfb84a12e570a8918934ea8391ded6
2022-10-07agl-test-framework: fix bug for ptest testsuitesQiu Tingting9-9/+0
Fix bug for ptest testsuites which introduced by the following commit: agl-test-framework: add "XPASS" and "XFAIL" states Bug-AGL: SPEC-4345 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: I77309e05468045bf1deba1ce94aed81f9492d5e9
2023-01-03agl-test-framework: enable ptest of gdk-pixbufQiu Tingting2-0/+29
Add test scripts for enabling ptest of gdk-pixbuf. This test will cost 12 seconds time in raspberrypi4. Bug-AGL: SPEC-4345 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: I67fefce8552fe9033734cf340758fe92efc5a58d
2023-01-03agl-test-framework: enable ptest of python3Qiu Tingting3-0/+134
Add test scripts for enabling ptest of python3. This test will cost 1h50min time in raspberrypi4. Bug-AGL: SPEC-4345 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: I840f4fa3e2d457f87260ec79fc72a06327157f22
2022-09-23agl-test-framework: add test "stress-ng"duerpei2-14/+12
Replace "stress" with "stress-ng", the stress-ng package which is already in OE-core. Bug-AGL: SPEC-4345 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: Ia79453f2fc82d4aed0a7a405df93d2560da253de
2022-12-08agl-test-framework: add test 'bash'duerpei3-0/+68
Add test script for 'bash' Bug-AGL: SPEC-4345 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: Id50dcc3d1a80b8d088b8af897aee82f6492e1a96
2022-12-08agl-test-framework: add "XPASS" and "XFAIL" statesduerpei5-32/+35
Adjust the test framework , add "XPASS" and "XFAIL" states for the result of test case, and delete useless code by the way. Bug-AGL: SPEC-4345 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: I5763dc27caef956fb6632fcb59d9f95d671f4766
2022-12-02agl-test-framework: add test 'crashme'yanxk6-1/+136
'agl-test' modified, now, usr would not run dangerous tests like this 'crashme' unless they do self selection by '-m' pytest option. Set default to 'not dangerous'. a new marker 'dangerous' has been add to the pytest.ini. add new method into the agl_test_base.py, to help get path of the 'spec.json', this file help stress tests like 'crashme' to run under different stress levels. for run_tests.py, modifications focus on how to run 'crashme' under that different levels. new marker 'order' would always ensure this 'crashme' test to be placed as the so called 'last' test of all. Bug-AGL: SPEC-4345 Signed-off-by: yanxk <yanxk.fnst@fujitsu.com> Change-Id: Icb36d7c5c52430d89787f4373a2852b1b03ec8a6
2022-08-27agl-test-framework: add test 'stress'duerpei2-0/+57
Add test script for 'stress' Bug-AGL: SPEC-4345 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: I1c0c048dc907e5cff5d50396ab28b7550371b32e
2022-11-11agl-test-framework: enable ptest of 'bc'yanxk3-0/+65
we have already submitted patches that enabled ptest of 'bc' to the OpenEmbedded community and the patches got merged. but it is not yet in the YP 4.0.5, so it would skip now. it can be seen in YP 4.1. we now add it into the test framework, for it would be available in the next YP release, maybe, or several versions later. Signed-off-by: yanxk <yanxk.fnst@fujitsu.com> Change-Id: Iffdef472c9449c9e3179c3b3bd1273fb2ec0e032