Skip to content

Commit b29e545

Browse files
committed
Public CI fast RPC Shell Scripts
Added shell script for fast RPC testcases Added Readme for fast RPC Testcases Signed-off-by: Abhishek Bajaj <abbajaj@qti.qualcomm.com>
1 parent d4bcd55 commit b29e545

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Runner/suites/Multimedia/CDSP/fastrpc_test/README_CDSP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ sh-5.2# cd /<Path in device>/Runner && ./run-test.sh fastrpc_test
7878
## License
7979

8080
SPDX-License-Identifier: BSD-3-Clause-Clear
81-
(C) Qualcomm Technologies, Inc. and/or its subsidiaries.
81+
Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.

Runner/suites/Multimedia/CDSP/fastrpc_test/run.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ fi
2828
. "$TOOLS/functestlib.sh"
2929
# ---------------------------------------------------------------
3030

31+
TESTNAME="fastrpc_test"
3132
test_path=$(find_test_case_by_name "$TESTNAME")
3233
cd "$test_path" || exit 1
3334

@@ -39,8 +40,6 @@ log_info "Checking if dependency binary is available"
3940
export PATH=$PATH:/usr/share/bin
4041
check_dependencies fastrpc_test grep
4142

42-
cd /usr/share/bin/ || exit 1
43-
4443
# Step 1: Read the SoC ID
4544
soc=$(cat /sys/devices/soc0/soc_id)
4645

@@ -62,8 +61,7 @@ case "$soc" in
6261
esac
6362

6463
# Step 3: Execute the command with the architecture
65-
66-
output=$(/usr/share/bin/fastrpc_test -d 3 -U 1 -t linux -a "$architecture")
64+
output=$(stdbuf -oL -eL sh -c "cd /usr/share/bin && ./fastrpc_test -d 3 -U 1 -t linux -a \"$architecture\"")
6765

6866
echo $output
6967

0 commit comments

Comments
 (0)