test: stop hardcoding /usr/bin/gcc
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 189
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
Many tests have lines like test/unittest/usdt/tst.guess32.sh:14:CC=/usr/bin/gcc. They should respect CC from the environment to allow testing with different GCC versions.
e.g. On my system, /usr/bin/gcc is usually GCC trunk, but I might want to compare GCC 14 with that to check for regressions.
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 with test/unittest/usdt/tst.guess32.sh:14 and search the test suite for other hardcoded /usr/bin/gcc assignments. Check how CC is provided by the environment, then verify the affected tests use the selected compiler instead of overriding it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, shell
- Domain
- testing-qa
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100