Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

K arkadiusz/stdio indicator test #295

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KArkadiusz
Copy link

@KArkadiusz KArkadiusz commented Nov 14, 2023

Description

Motivation and Context

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

How Has This Been Tested?

  • Already covered by automatic testing.
  • New test added: (add PR link here).
  • Tested by hand on: (list targets here).

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing linter checks and tests passed.
  • My changes generate no new compilation warnings for any of the targets.

Special treatment

  • This PR needs additional PRs to work (list the PRs, preferably in merge-order).
  • I will merge this PR by myself when appropriate.

Copy link

github-actions bot commented Nov 14, 2023

Unit Test Results

7 437 tests  +153   6 707 ✅ +138   38m 58s ⏱️ + 3m 8s
  409 suites ±  0     723 💤 +  8 
    1 files   ±  0       7 ❌ +  7 

For more details on these failures, see this check.

Results for commit e69015e. ± Comparison against base commit d8f54fa.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@damianloew damianloew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't checked ftell in detail yet.

libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Show resolved Hide resolved
libc/stdio/stdio_indicator.c Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
@KArkadiusz KArkadiusz force-pushed the KArkadiusz/stdio_indicator_test branch 3 times, most recently from 61e0e35 to 2cf76e1 Compare November 24, 2023 16:28
@KArkadiusz KArkadiusz force-pushed the KArkadiusz/stdio_indicator_test branch from 2cf76e1 to 67a9a25 Compare November 30, 2023 18:57
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/string/string_errsig.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Show resolved Hide resolved
@KArkadiusz KArkadiusz force-pushed the KArkadiusz/stdio_indicator_test branch from 67a9a25 to 9c99d54 Compare April 9, 2024 17:32
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
libc/stdio/stdio_indicator.c Show resolved Hide resolved
libc/stdio/stdio_indicator.c Outdated Show resolved Hide resolved
@KArkadiusz KArkadiusz force-pushed the KArkadiusz/stdio_indicator_test branch from 9c99d54 to e69015e Compare April 10, 2024 15:01
@KArkadiusz KArkadiusz force-pushed the KArkadiusz/stdio_indicator_test branch from e69015e to 3b1099f Compare April 30, 2024 14:58
Comment on lines +220 to +221
char c;
while ((c = fgetc(f)) != -1) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On our ARM architectures targets char is from 0 to 255,, maybe use signed char or int for c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants