apache / apache/nuttx-apps

[FEATURE] Shrink getprime runs for OSTest

Open Beginner friendly
#3,620 5 comments 1 reaction 0 assignees View on GitHub
Type: Enhancement
Dominant language
C
Stars
465
Forks
779
Avg merge
2d 9h
Merged PRs (30d)
36

Description

### Is your feature request related to a problem? Please describe.

OSTest is a huge pain in the ass to run on small targets with the getprime test enabled because it takes so long to complete that step.

### Describe the solution you'd like

I don't think we need 10 runs of getprime in the test; maybe just 3 is fine?

### Describe alternatives you've considered

Make the number of getprime runs configurable so it can be fewer on small targets.

### Verification

- [x] I have verified before submitting the report.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by searching the OSTest code for the getprime test and its run count; no file path is given in the issue. Run OSTest on a small target and verify that getprime completes with three runs, or a configurable lower count, while the test still passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot, testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.