apache / apache/teaclave-trustzone-sdk

[TODO] Update for CI checking script in OP-TEE

Open
#174 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
284
Forks
83
Avg merge
3h 34m
Merged PRs (30d)
6

Description

The CI in the OP-TEE repo runs an expect script to test Rust examples. Originally, this script was located at `teaclave-trustzone-sdk/ci/qemu-check.exp` but has been duplicated to `OP-TEE/build/rust.exp` in https://github.com/OP-TEE/build/pull/717 and maintained in OP-TEE repo.

However, `rust.exp` needs to be updated to include checks for additional `no_std` examples: `tcp_client` and `udp_client`.

Before adding these checks, we should first enable IPv6 support in QEMU, as discussed
in https://github.com/apache/incubator-teaclave-trustzone-sdk/pull/164#discussion_r1928165412, to properly test the `tcp_client` example.

Leaving a TODO here as a record.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with OP-TEE/build/rust.exp and the existing checks for Rust examples. Read the linked discussion about enabling IPv6 support in QEMU before adding checks for the tcp_client and udp_client no_std examples. Done means IPv6 is enabled and both examples are covered by the CI script.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
ci-cd, embedded-iot, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.