summaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2022-11-10agl-test-framework: deploy parametric implementation for old ‘zlib’ testyanxk1-24/+6
Single definitions are no longer used in this test framework, they are now replaced by another parametric implementation. The benefit of this is that it minimizes the likelihood of requiring manual maintenance due to the small but frequent updates from the upstream. Bug-AGL: SPEC-4345 Signed-off-by: yanxk <yanxk.fnst@fujitsu.com> Change-Id: I18ee28b6ebce12c61a55e87fef9f1b96f6db958c
2022-11-10agl-test-framework: deploy parametric implementation for old ‘bzip2’ testyanxk1-2015/+6
Single definitions are no longer used in this test framework, they are now replaced by another parametric implementation. The benefit of this is that it minimizes the likelihood of requiring manual maintenance due to the small but frequent updates from the upstream. Bug-AGL: SPEC-4345 Signed-off-by: yanxk <yanxk.fnst@fujitsu.com> Change-Id: I609a4c54edcc2b68a43d759fa60e9eee64d9c2cf
2022-11-10agl-test-framework: enable ptest of 'libxml2'yanxk3-0/+69
Base on the agl-test-framework, the ptest results of 'libxml2' can now be collected, analyzed and then reported. Here are 3 samples that the output result might look like: tests/libxml2/run_tests.py::test_libxml2[Reader regression tests] PASSED tests/libxml2/run_tests.py::test_libxml2[Reader entities substitution regression tests] PASSED tests/libxml2/run_tests.py::test_libxml2[Reader on memory regression tests] PASSED Bug-AGL: SPEC-4345 Signed-off-by: yanxk <yanxk.fnst@fujitsu.com> Change-Id: I8361fe54177d951c36732ebfbe8dd8915975d7a9
2022-11-08agl-test-framework: enable ptest of 'libpam'yanxk3-0/+68
Base on the agl-test-framework, the ptest results of 'libpam' can now be collected, analyzed and then reported. Here are 3 samples that the output result might look like: tests/libpam/run_tests.py::test_libpam[tst-pam_acct_mgmt] PASSED tests/libpam/run_tests.py::test_libpam[tst-pam_authenticate] PASSED tests/libpam/run_tests.py::test_libpam[tst-pam_chauthtok] PASSED Bug-AGL: SPEC-4345 Signed-off-by: yanxk <yanxk.fnst@fujitsu.com> Change-Id: I11c73689b5073ca4bf24b34d128287e029afdb3a
2022-07-24Add precheck() funQiu Tingting5-1/+41
Checking env before run testsuite is necessary. 1. Add common check in agl_test_base.py. It is currently an empty function. If necessary, common check sould be added. 2. Add ptest common check in agl_test_ptest_base.py. For ptest testsuite, check whether ptest-runner and run-ptest script exist. 3. Add special check in run_tests.py. For aio-stress testsuite, check whether compiled aio-stress script exists For bzip2 testsuite, check whether bzip2 cmd exists. Bug-AGL: SPEC-4345 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: Id7841c0337465266dd607403ecb3e1c4377c6198
2022-07-23agl-test-framework: enable ptest of 'zlib'yanxk3-0/+79
Base on the agl-test-framework, the test results of OSS "zlib" can now be collected, analyzed and then reported. Bug-AGL: SPEC-4345 Signed-off-by: yanxk <yanxk.fnst@fujitsu.com> Change-Id: I023c080cc365facb7d647f4c1085b7c9739f0b0e
2022-07-21tests: solve the problem of duplicate nameduerpei3-2/+2
To avoid error caused by the same name between the test set and pyhton module, add an empty '__ init__. py' file in '/tests' Bug-AGL: SPEC-4345 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: I7748e6ae90b2eb12b59a39b3659b5910fc487810
2022-07-11agl-test-framework: enable Ptest of "bzip2"yanxk3-0/+2082
Base on the agl-test-framework, the test results of OSS "bzip2" can now be collected, analyzed and then reported. Bug-AGL: SPEC-4345 Signed-off-by: yanxk <yanxk.fnst@fujitsu.com> Change-Id: I28df7079cfc0bc4b95b3ca195119f435b9ba8b6b
2022-09-30agl-test-framework: add test set of aio-stressduerpei2-0/+50
Add the script file that calls the test set 'aiostress'. Bug-AGL: SPEC-4345 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: Ib3906fed1f85031d3554342a5555aa3a046b8c09
2022-07-02agl-test-framework: enable Ptest of "Expat"yanxk3-0/+3494
Base on the agl-test-framework, the test results of OSS "Expat" can now be collected, analyzed and then reported. Bug-AGL: SPEC-4345 Signed-off-by: yanxk <yanxk.fnst@fujitsu.com> Change-Id: Ibd1cccc6f78f4ee6a640b47eb74d2b35f40b6d31
2022-06-16agl-test-framework: use PTESTBaseTest classduerpei2-0/+52
Move the "run_tests" script of glib2 under "qa-test-misc" to "agl-test-framework", this is more reasonable. And modify the script file run_tests under glib2, make it use PTESTBaseTest class. Later, I will delete the "run_tests" scripts under "qa-test-misc" Bug-AGL: SPEC-4345 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: Id055b829954bf8bdf75a90ff5b417baae0c4d5fb