1# SPDX-License-Identifier: Apache-2.0
2
3tests:
4  gnss.gnss_dump:
5    tags: gnss
6    platform_allow:
7      - native_sim
8      - native_sim/native/64
9    integration_platforms:
10      - native_sim
11    harness: console
12    harness_config:
13      type: multi_line
14      regex:
15        - "gnss_dev: gnss_info: {satellites_cnt: 0, hdop: 0.0, \
16           fix_status: NO_FIX, fix_quality: INVALID}"
17        - "gnss_dev: navigation_data: {latitude: 0.000000000, longitude : 0.000000000, \
18           bearing 0.000, speed 0.000, altitude: 0.000}"
19        - "gnss_dev: gnss_time: {hour: 0, minute: 0, millisecond 0, month_day 0, month: 0, \
20           century_year: 0}"
21        - "gnss_dev: gnss_info: {satellites_cnt: 6, hdop: 0.7, \
22           fix_status: GNSS_FIX, fix_quality: GNSS_PPS}"
23        - "gnss_dev: navigation_data: {latitude: 10.000000001, longitude : 20.000000002, \
24           bearing 3.003, speed 4.004, altitude: 5.005}"
25        - "gnss_dev: gnss_time: {hour: 1, minute: 2, millisecond 3, month_day 4, month: 5, \
26           century_year: 6}"
27        - "gnss_dev: navigation_data: {latitude: 0.000000001, longitude : 0.000000002, \
28           bearing 0.003, speed 0.004, altitude: 0.005}"
29        - "gnss_dev: navigation_data: {latitude: -10.000000001, longitude : -20.000000002, \
30           bearing 0.003, speed 0.004, altitude: -5.005}"
31        - "gnss_dev: navigation_data: {latitude: -0.000000001, longitude : -0.000000002, \
32           bearing 0.003, speed 0.004, altitude: -0.005}"
33        - "gnss_dev: gnss_satellite: {prn: 0, snr: 0, elevation 0, azimuth 0, system: unknown, \
34           is_tracked: 0}"
35        - "gnss_dev: gnss_satellite: {prn: 1, snr: 2, elevation 0, azimuth 3, system: GALILEO, \
36           is_tracked: 1}"
37