lestarch-autobot 465ad3fd5d Fix check --all resolving wrong CTest directory (#321)
* Fix check --all using wrong CTest directory

Two issues caused 'fprime-util check --all' to run CTest against the
wrong directory (e.g. build-cache/F-Prime instead of the build root):

1. _load_build_cache_locations fallback ordering put F-Prime/ before
   the build root. When the project root's relative path is '.', both
   locations match, and F-Prime won due to being checked first.
   Reordered so the build root is checked first.

2. SpecificBuildTargetEnumerator (used for global --all targets)
   returned the caller-supplied context_path as the enumerated context.
   Changed to return builder.cmake_root (the project root) since these
   are global targets that should resolve relative to the project.

Co-Authored-By: michael.d.starch <michael.d.starch@jpl.nasa.gov>

* Add comment explaining critical ordering of build cache locations

Co-Authored-By: michael.d.starch <michael.d.starch@jpl.nasa.gov>

* Shorten ordering comment

Co-Authored-By: michael.d.starch <michael.d.starch@jpl.nasa.gov>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: michael.d.starch <michael.d.starch@jpl.nasa.gov>
2026-05-28 16:31:52 -07:00

F´ Tools

A package containing tools to work with F´. Installation can be done using:

pip install fprime-tools

Issues for these tools should be reported here: File an issue

See also: https://fprime.jpl.nasa.gov to see the F´ framework.

Developer Installation

In order to install a branch not released on PIP, follow these steps:

  1. Clone this repo or the developer fork containing the desired branch
  2. Checkout the desired branch
  3. Remove previous installation with pip uninstall fprime-tools
  4. Install local checkout with pip install .

Developers can add the -e flag when local changes need to affect the tool install immediately. -e links the current directory into the PIP install rather than copying the files over thus allowing local edits to affect the installed tools. This is commonly done during the development cycle.

Installing devel

These instructions will install the devel branch without allowing local edits to affect the installation.

git clone https://github.com/fprime-community/fprime-tools.git
cd fprime-tools
git checkout devel
pip uninstall fprime-tools
pip install .

Black Formatter

To automatically format code, the Black Formatter can be installed with: pip install black

Then it can be run on the project using:

black ./
Description
F´ Python tooling and helpers.
Readme 3.5 MiB
v4.0.1 Latest
2025-08-06 18:58:17 -05:00
Languages
Python 85.6%
C++ 7.1%
Fortran 6.2%
CMake 1.1%