[FEATURE] Shrink getprime runs for OSTest

Open Beginner friendly
#3,620 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

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.

Description

Type: Enhancement
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
  • I have verified before submitting the report.
Dominant language
C
Stars
465
Forks
782
Avg merge
3d 11h
Merged PRs (30d)
44

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/nuttx-apps

All issues in apache/nuttx-apps

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.