summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace/run-ptest
diff options
context:
space:
mode:
authorWentao Zhang <wentao.zhang@windriver.com>2024-04-09 06:25:06 +0000
committerKhem Raj <raj.khem@gmail.com>2024-04-09 19:34:12 -0700
commitc38281d2c4c5725ab4d3d07de7738b80ad0d8bbc (patch)
treeed29d1bb2bd355ce3e53f8500aa8ad3b647d032f /dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace/run-ptest
parent13dcab852c5bcd51fd75ae84ace9eddd99254653 (diff)
downloadmeta-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-ptest3
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
6cd tests || exit 1 6cd tests || exit 1
7export BPFTRACE_RUNTIME_TEST_EXECUTABLE=/usr/bin 7export BPFTRACE_RUNTIME_TEST_EXECUTABLE=/usr/bin/bpftrace
8export BPFTRACE_AOT_RUNTIME_TEST_EXECUTABLE=/usr/bin/bpftrace-aotrt
8 9
9PASS_CNT=0 10PASS_CNT=0
10FAIL_CNT=0 11FAIL_CNT=0