Skip to content

Build the ZoneX regression test harness #3

Description

@fdesbiens

Stand up the ZoneX regression suite, following the layout the other Eclipse ThreadX repositories use so that contributors moving between them find the same commands.

Blocked by #2, which decides what the suite runs on.

Scope

  • test/ holding the CMake project(s) for the suite, with a run.sh entry point per target, as in test/tx/cmake/run.sh.
  • scripts/build_*.sh and scripts/test_*.sh pairs, one per test target, each a thin wrapper over the matching run.sh.
  • scripts/*.ps1 equivalents for Windows, if the host target decided in Decide the host target for the ZoneX regression suite #2 has a Windows story. ThreadX does this through scripts/tx_windows_common.ps1 plus per-target build_*.ps1 / test_*.ps1, driving MSVC through the Visual Studio Build Tools only — no dependency on Visual Studio itself.
  • scripts/install.sh installing the toolchain and test dependencies on Ubuntu. Worth copying the retry and timeout handling from the ThreadX version rather than writing it fresh; that code exists because unbounded apt-get update calls cost whole CI runs.
  • Coverage reporting via gcovr, pinned exactly as ThreadX pins it.

Definition of done

The suite builds and passes locally on Linux, and on Windows if applicable, and the "Building and testing" section of CONTRIBUTING.md is rewritten to replace the current placeholder — documenting each script and which target it covers.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions