Skip to content

Commit e0cd605

Browse files
committed
aws-iot-fleetwise-edge: enable RISCV-64 and fix ptest
1 parent e189379 commit e0cd605

File tree

2 files changed

+7
-18
lines changed

2 files changed

+7
-18
lines changed

recipes-iot/aws-iot-fleetwise/aws-iot-fleetwise-edge_1.3.2.bb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ HOMEPAGE = "https://github.com/aws/aws-iot-fleetwise-edge"
44
LICENSE = "Apache-2.0"
55
LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
66

7-
COMPATIBLE_MACHINE:riscv64 = "null"
8-
97
# nooelint: oelint.vars.dependsordered
108
DEPENDS = "\
119
aws-sdk-cpp \
@@ -101,7 +99,7 @@ do_install() {
10199
do_install_ptest() {
102100
install -d ${D}${PTEST_PATH}/tests
103101
install -m 0755 ${UNPACKDIR}/ptest_result.py ${D}${PTEST_PATH}/
104-
install -m 0755 ${S}/configuration/static-config.json ${D}${PTEST_PATH}/config-0.json
102+
install -m 0755 ${UNPACKDIR}/config-0.json ${D}${PTEST_PATH}/config-0.json
105103
install -m 0755 ${B}/fwe-gtest ${D}${PTEST_PATH}/tests/
106104
install -m 0755 ${B}/fwe-benchmark ${D}${PTEST_PATH}/tests/
107105
}

recipes-iot/aws-iot-fleetwise/files/run-ptest

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,21 @@
11
#!/bin/sh
22

3-
aws-iot-fleetwise-edge config-0.json 2>&1 > test.log &
4-
sleep 30
5-
grep "AWS API ShutDown Completed" test.log
6-
7-
RETVAL=$?
8-
if [ $RETVAL -eq 0 ] ; then
9-
echo "PASS: aws-iot-fleetwise startup test"
10-
else
11-
echo "FAIL: aws-iot-fleetwise startup test"
12-
fi
3+
mkdir -p /tmp/fleetwise-persist
134

145
### fwe-gtest
15-
tests/fwe-gtest --gtest_filter=\
16-
-CANDataSourceTest.testNoDecoderDictionary:\
6+
tests/fwe-gtest --gtest_filter='\
7+
-CANDataSourceTest*:\
178
-AwsIotConnectivityModuleTest*:\
189
-CANDecoderTest*:\
19-
-CANDataSourceTest.*:\
2010
-CollectionInspectionEngine*:\
2111
-CollectionInspectionWorkerThreadTest.*:\
12+
-IoTFleetWiseConfigTest*:\
2213
-IoTFleetWiseConfigTest.ReadOk:\
2314
-IoTFleetWiseEngineTest.*:\
2415
-CollectionInspectionEngineDoubleTest.RandomDataTest:\
2516
-ISOTPOverCANProtocolTest.*:\
26-
-OBDOverCANModuleTest.*\
27-
--gtest_fail_fast --gtest_output=json:result.json > /dev/null ; python3 ptest_result.py result.json
17+
-OBDOverCANModuleTest.*' \
18+
--gtest_fail_fast --gtest_output=json:result.json > /dev/null 2>&1 ; python3 ptest_result.py result.json
2819

2920

3021
### fwe-benchmark

0 commit comments

Comments
 (0)