Age | Commit message (Collapse) | Author | Files | Lines |
|
format was spelled incorrectly
Bug-AGL: SPEC-4753
Change-Id: I0851c534ce2b81e0e9ea7a13c52395e2f52ad78b
Signed-off-by: zhuwenqing <zhuwq.jy@fujitsu.com>
|
|
Add ptest popt into agl-test-framework
Bug-AGL: SPEC-4753
Change-Id: Iad0ebf8c162a9cc05c60cc1a28742b12c516a3e9
Signed-off-by: zhuwenqing <zhuwq.jy@fujitsu.com>
|
|
Add ptest sed in agl-test-framework.
Testing costs 55s.
Bug-AGL: SPEC-5087
Change-Id: Idb2ca4d992010f07857b3e9f5d5789c122ef0881
Signed-off-by: duerpei <duep.fnst@fujitsu.com>
|
|
Add ptest slang in agl-test-framework.
Testing costs 40s.
Bug-AGL: SPEC-5087
Change-Id: Ic38115c90625ed951e8b35dd3492829c692e7dda
Signed-off-by: duerpei <duep.fnst@fujitsu.com>
|
|
Add ptest gzip in agl-test-framework.
Testing costs 4mins.
Bug-AGL: SPEC-5087
Change-Id: I68a0b30db8c3d8960d3022c0e4a08ef93f891b1e
Signed-off-by: duerpei <duep.fnst@fujitsu.com>
|
|
Add template files for gitlab
Bug-AGL: SPEC-4474
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I776eb3a48b9b1aacce0968757c5c030e3413748b
|
|
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
|