Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|