ARMmbed / ARMmbed/mbed-drivers

Test cstring failure for gcc targets

Open
#112 4 comments 0 reactions 0 assignees View on GitHub
mirrored
Dominant language
C++
Stars
39
Forks
41
PR merge metrics
No merged PRs in 30d

Description

The test was ported from mbed, where floats are enabled for libraries, which is not a case for our current gcc targets, thus this test fail for gcc, but not for armcc. We should remove floats testing as it's not true for all targets (issue tracking under mbed-target-gcc: https://github.com/ARMmbed/target-mbed-gcc/issues/17)

File reference: https://github.com/ARMmbed/mbed-drivers/blob/master/test/cstring/main.cpp#L63

Contributor guide

No contributing guide indexed for this repository

Research direction

Open test/cstring/main.cpp at the referenced line and inspect the float-related assertions ported from mbed. Remove the float testing that is not valid for the current gcc targets, then run the cstring test for a gcc target and confirm the test no longer fails while preserving the valid checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing
Issue type
Bug
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.