AdaCore / AdaCore/gnatcoll-bindings
Test iconv__iconv1 FAILED: Test character for which there is no transliteration
Open
Nobody has claimed this yet.
- Dominant language
- Ada
- Stars
- 15
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I'm attempting to run the test suite here and I'm seeing one failure in the iconv tests. Everything else passes.
This is using glibc 2.39, with the following locales enabled:
C.UTF8 UTF-8
en_US.UTF-8 UTF-8
The failing test is:
INFO Found 5 tests
INFO PASS iconv__bad_charset
INFO FAIL iconv__iconv1: command call fails
_Status code: 0
_Output:
_Setup
_ [mkdir] object directory for project Test
_test.gpr:9:09: warning: there are no sources of language "C" in this project
_Compile
_ [Ada] test.adb
_ [Ada] test_assert.adb
_Bind
_ [gprbind] test.bexch
_ [Ada] test.ali
_Link
_ [link] test.adb
_Status code: 1
_Output:
_test.adb:29: PASSED: simple test
_test.adb:30: PASSED:
_test.adb:31: PASSED:
_test.adb:33: PASSED:
_test.adb:37: PASSED:
_test.adb:40: PASSED:
_test.adb:44: PASSED: Test transliteration on ellipsis
_test.adb:52: PASSED: Test UTF-8 to ASCII of ellipsis without transliteration
_test.adb:61: FAILED: Test character for which there is no transliteration
_iconv( 199 130 65, to_code => ASCII, from_code => UTF-8, transliteration => TRUE, ignore => TRUE
_- expect: 65
_- got: 63 65
_<=== TEST FAILED ===>
_
INFO PASS omp__sort
INFO PASS gmp
INFO PASS coders
INFO Summary:
_ PASS 4
_ FAIL 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the iconv__iconv1 failure from the test suite with glibc 2.39 and the listed locales, then inspect test.adb around line 61 and the surrounding iconv test cases. Done means the character-without-transliteration case passes while the other iconv assertions remain passing.
Written by the indexing model from the issue text.
Assessment
- Domain
- internationalization, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100