summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/jemalloc/files/run-ptest
Commit message (Collapse)AuthorAgeFilesLines
* jemalloc: include the missing shell scripts and source the corresponds shell ↵Wentao Zhang2023-04-041-1/+28
| | | | | | | | | | | | | | scripts for some test cases. The test cases in jemalloc require the appropriate value to be exported to MALLOC_CONF, which is stored in shell scripts. The privious script just ran the test cases without exporting value, causing the tests to fail. Include the missing shell scripts, and source them before running the test cases now. Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* jemalloc: improve the ptest outputMingli Yu2021-08-121-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previouly we only show the output of each text program, actually each test program includes serveral test cases. Improve the ptest script to show the output of each test case. Before: # ./run-ptest [snip] PASS: tests/integration/MALLOCX_ARENA PASS: tests/integration/aligned_alloc [snip] After: # ./run-ptest [snip] PASS: test_MALLOCX_ARENA (non-reentrant) PASS: test_MALLOCX_ARENA (libc-reentrant) PASS: test_MALLOCX_ARENA (arena_new-reentrant) PASS: test_alignment_errors (non-reentrant) PASS: test_alignment_errors (libc-reentrant) PASS: test_alignment_errors (arena_new-reentrant) PASS: test_oom_errors (non-reentrant) PASS: test_oom_errors (libc-reentrant) PASS: test_oom_errors (arena_new-reentrant) PASS: test_alignment_and_size (non-reentrant) PASS: test_alignment_and_size (libc-reentrant) PASS: test_alignment_and_size (arena_new-reentrant) PASS: test_zero_alloc (non-reentrant) PASS: test_zero_alloc (libc-reentrant) PASS: test_zero_alloc (arena_new-reentrant) [snip] Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* jemalloc: add ptest supportMingli Yu2021-08-111-0/+19
Add ptest support. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>