ptlix
Portable Test Library Interface for different RTOSs and Software Test Libraries
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (17.1%) to scientific vocabulary
Keywords
Repository
Portable Test Library Interface for different RTOSs and Software Test Libraries
Basic Info
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
Portable Test Library Interface (PTLIX)
Overview
PTLIX is a portable test library interface that provides a unified way to interact with various software-based self tests (SBSTs) in software test libraries. It is designed to be easy to use and flexible, allowing developers to write tests that can run on different platforms and environments without modification. It can be integrated into existing projects with minimal effort. PTLIX is particularly useful for developers who need to maintain hardware test suites that work across different operating systems.
Installation
To install PTLIX, clone the repository and install the necessary dependencies:
bash
git clone https://github.com/yourusername/ptlix.git
cd ptlix
Building
PTLIX uses meson for building the project. To build the project, navigate to the root directory of the cloned repository and run:
bash
cd ptlix
meson setup --cross-file ./targets/cross_file.txt build
cd build
meson compile
Build Configuration
You can customize the build configuration by modifying the meson.build file or by passing options to the meson setup command. For example, you can specify different compiler flags, enable or disable features, or set the target architecture.
You can also use the meson configure command to change build options after the initial setup. For example, to enable debug mode, you can run:
bash
meson configure -Ddebug=true
See the meson_options.txt file for more details on the build configuration. The main options are:
library_type: Build shared or static library (shared/static)build_tests: Build unit tests (default:false)build_docs: Build documentation (default:true)runtime_tests: Compile SBSTs runtime (default:true)boot_tests: Compile SBSTs boot (default:false)runtime_tests_relocation: Compile SBSTs runtime with relocation (default:false)runtime_tests_relocation_table: Compile SBSTs runtime with custom relocation table (default:false)
Requirements
- Compiler supporting C++11 or later
- Meson for building the project 1.1.0 or later
- Additional libraries or tools may be required depending on your platform and usage
Documentation
Documentation for PTLIX is available in the docs/ directory. It includes API references, usage examples, and guidelines for writing tests.
You need to set the build_docs option to true in the meson_options.txt file to build the documentation. Afterward, you can generate the documentation by running:
bash
meson setup --cross-file ./targets/cross_file.txt build
You can view the documentation by opening the generated HTML files in a web browser.
Unit Tests
TO be added.
PTLIX Structure Overview
The PTLIX project is organized into several directories, each serving a specific purpose:
- meson.build: The main build script for the PTLIX project, defining the build configuration and targets.
- meson_options.txt : Configuration options for the PTLIX build, allowing customization of the build process.
- targets/: Contains cross-compilation files and configurations for different target platforms and architectures.
- targets/cross_file.txt: Cross-compilation configuration file for building PTLIX on different platforms.
- src/: Core source code for the PTLIX library, including implementation files and submodules.
- src/cfg/: Configuration headers and source files for the library.
- src/error_management/: Error management logic, including error handling functions and definitions.
- src/scheduler/: Scheduling logic for tests and related utilities.
- src/TSSP/: Test Suite Support Package: contains platform- or test-type-specific support code.
- src/tests/: Test implementations and test setup code, organized by compiler, ISA, and test type.
- include/: Public header files for the PTLIX library, defining the API and core types.
- linker_scripts/: Linker scripts for various architectures and toolchains.
- docs/: Project documentation, including API references and usage guides.
- tests/: Unit and integration test suites for the library and its bindings.
License
This project is licensed under the Apache License. See the LICENSE file for details.
Contributing
Contributions are welcome! Please read the CONTRIBUTING.md file for details on how to contribute to this project.
Owner
- Name: Francesco Angione
- Login: franout
- Kind: user
- Location: Torino
- Repositories: 2
- Profile: https://github.com/franout
Computer science engineering. Embedded systems enginering @ Politecnico di Torino. Erasmus student@CTH Sweden. Curiosity moves the world. Reader.
Citation (CITATION.cff)
cff-version: 1.2.0
message: If you use this software, please cite it using these metadata.
title: PTLIX
abstract: A Portable Test Library Interface.
authors:
- family-names: Angione
given-names: Francesco
orcid: "https://orcid.org/0000-0003-2978-1130"
- family-names: Bernardi
given-names: Paolo
- family-names: Cantoro
given-names: Riccardo
- name: "CAD & Reliability Group"
version: 1.0.0
date-released: "2025-05-22"
license: Apache-2.0
repository-code: "https://github.com/franout/PTLIX"
GitHub Events
Total
- Delete event: 6
- Public event: 1
- Push event: 17
- Pull request review event: 11
- Pull request review comment event: 7
- Pull request event: 10
- Create event: 4
Last Year
- Delete event: 6
- Public event: 1
- Push event: 17
- Pull request review event: 11
- Pull request review comment event: 7
- Pull request event: 10
- Create event: 4