diff options
author | Wentao Zhang <wentao.zhang@windriver.com> | 2024-04-09 06:25:06 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-04-09 19:34:12 -0700 |
commit | c38281d2c4c5725ab4d3d07de7738b80ad0d8bbc (patch) | |
tree | ed29d1bb2bd355ce3e53f8500aa8ad3b647d032f /dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace/run-ptest | |
parent | 13dcab852c5bcd51fd75ae84ace9eddd99254653 (diff) | |
download | meta-clang-c38281d2c4c5725ab4d3d07de7738b80ad0d8bbc.tar.gz |
bpftrace: fix the runtime ptest errors
https://github.com/bpftrace/bpftrace/pull/2935 changed the test scripts,
then the runtime ptest got the following errors:
| KeyError: 'BPFTRACE_AOT_RUNTIME_TEST_EXECUTABLE'
| Output: /bin/sh: line 1: /usr/bin/: Is a directory\n
The changes in run-ptest is to solve these problems.
After fixing the previously mentioned problems,
we got the the following errors while running the runtime ptest:
| error: <unknown>:0:0: in function BEGIN i64 (ptr): 0x56056cec80f0: i64 = GlobalAddress<ptr @__atomic_compare_exchange> 0 too many arguments
The new patch in the bb file is to solve this problem.
Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com>
Diffstat (limited to 'dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace/run-ptest')
-rw-r--r-- | dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace/run-ptest | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace/run-ptest b/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace/run-ptest index bab3033..63d65e2 100644 --- a/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace/run-ptest +++ b/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace/run-ptest | |||
@@ -4,7 +4,8 @@ | |||
4 | # parameter in ptest-runner is necessary to not kill it before completion | 4 | # parameter in ptest-runner is necessary to not kill it before completion |
5 | 5 | ||
6 | cd tests || exit 1 | 6 | cd tests || exit 1 |
7 | export BPFTRACE_RUNTIME_TEST_EXECUTABLE=/usr/bin | 7 | export BPFTRACE_RUNTIME_TEST_EXECUTABLE=/usr/bin/bpftrace |
8 | export BPFTRACE_AOT_RUNTIME_TEST_EXECUTABLE=/usr/bin/bpftrace-aotrt | ||
8 | 9 | ||
9 | PASS_CNT=0 | 10 | PASS_CNT=0 |
10 | FAIL_CNT=0 | 11 | FAIL_CNT=0 |