Age | Commit message (Collapse) | Author | Files | Lines |
|
Update the .gitreview file.
Bug-AGL: SPEC-5071
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Id96390c61142170fdf6fc78cd5e86e41d14e116e
|
|
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
|
|
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
|
|
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
|
|
Add ptest curl in agl-test-framework.
Testing costs 280s.
Signed-off-by: Qiu Tingting <qiutt@fujitsu.com>
Change-Id: Iae2272d1cf7064326b65e4c4f61c481f99554c88
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
add ptest babetrace2 into framework.
Bug-AGL: SPEC-4753
Signed-off-by: Yan <yanxk.fnst@fujitsu.com>
Change-Id: I4ec3e2d763f6b5a2712c334e8c838acdd53e7872
|
|
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
|
|
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
|
|
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
|
|
Add ptest babeltrace in agl-test-framework.
Bug-AGL: SPEC-4753
Signed-off-by: Yan <yanxk.fnst@fujitsu.com>
Change-Id: I8ef9cfb2dc37f647f0417400bfa715e662dbd610
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
add json-glib ptest into agl-test-framework.
Bug-AGL: SPEC-4733
Signed-off-by: Yan <yanxk.fnst@fujitsu.com>
Change-Id: I03ef4122fbef0c6cee3eec5e5d23915698b35e51
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
fix a pytest warning caused by missing escape character.
Bug-AGL: SPEC-4345
Signed-off-by: yanxk <yanxk.fnst@fujitsu.com>
Change-Id: Iec8a4faf09322b6518409cb575d0149cad6d34a9
|
|
Enable the test suite of 'busybox' from ptest
Bug-AGL: SPEC-4345
Signed-off-by: duerpei <duep.fnst@fujitsu.com>
Change-Id: I960f013d47f893f65766628da443ad6dce6f1009
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
Add test script for 'bash'
Bug-AGL: SPEC-4345
Signed-off-by: duerpei <duep.fnst@fujitsu.com>
Change-Id: Id50dcc3d1a80b8d088b8af897aee82f6492e1a96
|
|
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
|
|
'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
|
|
Add test script for 'stress'
Bug-AGL: SPEC-4345
Signed-off-by: duerpei <duep.fnst@fujitsu.com>
Change-Id: I1c0c048dc907e5cff5d50396ab28b7550371b32e
|
|
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
|