12 Commits

Author SHA1 Message Date
Chi Xu
c0eb0452af re2: Add ptest support
Test results:
root@qemux86-64:~# ptest-runner re2 -t 7200
START: ptest-runner
2023-10-16T08:36
BEGIN: /usr/lib/re2/ptest
PASS: charclass_test
PASS: compile_test
PASS: filtered_re2_test
PASS: mimics_pcre_test
PASS: parse_test
PASS: possible_match_test
PASS: re2_test
PASS: re2_arg_test
PASS: regexp_test
PASS: required_prefix_test
PASS: search_test
PASS: set_test
PASS: simplify_test
PASS: string_generator_test
PASS: dfa_test
PASS: exhaustive1_test
PASS: exhaustive2_test
PASS: exhaustive3_test
PASS: exhaustive_test
PASS: random_test
DURATION: 2085
END: /usr/lib/re2/ptest
2023-10-16T09:11
STOP: ptest-runner
TOTAL: 1 FAIL: 0

And add re2 ptest to PTESTS_SLOW_META_OE.

Signed-off-by: Chi Xu <chi.xu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 92038e03ee)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-30 07:14:02 -04:00
David Pierret
486fa9a037 cjson: Add ptest
cjson use pure CMake test framework named CTest.
CMake generate CTestTestfile.cmake containing fully defined path.
This path need to be altered on install step to match the ptest directory.

The json_patch_tests doesn't works because of file access and is skip.

Signed-off-by: David Pierret <david.pierret@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 4079e92284)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-30 07:13:42 -04:00
Khem Raj
3428b644c3 ptest-packagelists-meta-oe: Add kernel-selftest to x86/x86-64 images
Test run for 10+ minutes so they belong to slow testset

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit b729ec1b11)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-12 09:58:06 -04:00
Markus Volk
2c2b6c7522 libxmlb: remove recipe
It was moved to oe-core

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-20 15:34:02 -07:00
Chi Xu
c332fd2659 mariadb: Add ptest support
69 test cases in all, and all of them are PASS.

Test results:
root@intel-x86-64:~# ptest-runner mariadb
START: ptest-runner
2023-09-17T05:38
BEGIN: /usr/lib/mariadb/ptest
PASS: strings
PASS: json
PASS: simple
PASS: skip
PASS: todo
PASS: skip_all
PASS: no_plan
PASS: bitmap
PASS: base64
PASS: my_atomic
PASS: my_rdtsc
PASS: lf
PASS: my_malloc
PASS: my_getopt
PASS: dynstring
PASS: byte_order
PASS: queues
PASS: stacktrace
PASS: crc32
PASS: my_vsnprintf
PASS: aes
PASS: ma_dyncol
PASS: my_decimal
PASS: json_lib
PASS: json_normalize
PASS: my_apc
PASS: explain_filename
PASS: mf_iocache
PASS: my_json_writer
PASS: innodb_fts
PASS: innodb_sync
PASS: ma_control_file
PASS: trnman
PASS: ma_test_loghandler
PASS: ma_test_loghandler_multigroup
PASS: ma_test_loghandler_multithread
PASS: ma_test_loghandler_pagecache
PASS: ma_test_loghandler_long
PASS: ma_test_loghandler_noflush
PASS: ma_test_loghandler_first_lsn
PASS: ma_test_loghandler_max_lsn
PASS: ma_test_loghandler_purge
PASS: ma_test_loghandler_readonly
PASS: ma_test_loghandler_nologs
PASS: ma_pagecache_single_1k
PASS: ma_pagecache_single_8k
PASS: ma_pagecache_single_64k
PASS: ma_pagecache_consist_1k
PASS: ma_pagecache_consist_64k
PASS: ma_pagecache_consist_1kHC
PASS: ma_pagecache_consist_64kHC
PASS: ma_pagecache_consist_1kRD
PASS: ma_pagecache_consist_64kRD
PASS: ma_pagecache_consist_1kWR
PASS: ma_pagecache_consist_64kWR
PASS: ma_pagecache_rwconsist_1k
PASS: ma_pagecache_rwconsist2_1k
PASS: pfs_instr_class
PASS: pfs_instr_class-oom
PASS: pfs_instr
PASS: pfs_instr-oom
PASS: pfs_account-oom
PASS: pfs_host-oom
PASS: pfs_timer
PASS: pfs_user-oom
PASS: pfs_noop
PASS: pfs
PASS: pfs_misc
PASS: dbug
DURATION: 59
END: /usr/lib/mariadb/ptest
2023-09-17T05:39
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Chi Xu <chi.xu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-16 23:40:23 -07:00
Khem Raj
c238a337eb librelp: Add to meta-oe ptest image
it takes ~35s so lets add it to auto ptests

RESULTS - ptest.PtestRunnerTest.test_ptestrunner_expectfail: PASSED (34.93s)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-19 10:46:14 -07:00
Khem Raj
8b368e0bf5 ptest-packagelists-meta-oe: Limit mcelog to x86/x86_64
mcelog is only available on x86 and x86_64 architectures.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-13 07:22:17 -07:00
Khem Raj
e92623076b meta-oe-ptests: Add mcelog to PTESTS_FAST_META_OE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 08:48:18 -07:00
Khem Raj
d68491eca0 ptest-packagelists-meta-oe: Remove nodejs ptests for rv32/rv64
Nodejs in OE not yet ported to RISCV

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-18 17:15:01 -07:00
Khem Raj
dd5e852516 ptest-packagelists-meta-oe: Add libtinyxml2
It takes < 4 seconds on qemux86_64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-06 13:45:10 -07:00
Khem Raj
580c36fa72 ptest-packagelists-meta-oe: Remove minicoredumper from PTESTS_FAST_META_OE on musl
minicoredumper is not buildable on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:45 -07:00
Tim Orling
d094f80089 ptest-packagelists-meta-oe.inc: add ptest recipes
Similar to ptest-packagelists.inc in oe-core, this list enables
per image ptest (isolated ptests for a given recipe)

* Add recipes to PTEST_FAST_META_OE for ptests which take less than ~30s
* Add recipes to PTEST_SLOW_META_OE for ptests which take longer
* Add recipes to PTEST_PROBLEMS_META_OE for ptests which have failing tests
  or other issues with ptest package

The initial list was taken from:

meta_oe_ptest_recipes=$(bitbake-layers show-recipes --recipes-only \
  --layer meta-oe --inherits ptest --bare | tr '\n' ' ' | \
  pcregrep -o1 '^NOTE:.+===(.+)$')

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-02 17:43:22 -07:00