File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Runner/suites/Multimedia/CDSP/fastrpc_test Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -78,4 +78,4 @@ sh-5.2# cd /<Path in device>/Runner && ./run-test.sh fastrpc_test
78
78
## License
79
79
80
80
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.
Original file line number Diff line number Diff line change 28
28
. " $TOOLS /functestlib.sh"
29
29
# ---------------------------------------------------------------
30
30
31
+ TESTNAME=" fastrpc_test"
31
32
test_path=$( find_test_case_by_name " $TESTNAME " )
32
33
cd " $test_path " || exit 1
33
34
@@ -39,8 +40,6 @@ log_info "Checking if dependency binary is available"
39
40
export PATH=$PATH :/usr/share/bin
40
41
check_dependencies fastrpc_test grep
41
42
42
- cd /usr/share/bin/ || exit 1
43
-
44
43
# Step 1: Read the SoC ID
45
44
soc=$( cat /sys/devices/soc0/soc_id)
46
45
@@ -62,8 +61,7 @@ case "$soc" in
62
61
esac
63
62
64
63
# 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 \" " )
67
65
68
66
echo $output
69
67
You can’t perform that action at this time.
0 commit comments