tests/charm++: top-level make test fails on SMP builds; objloads has no smptest target
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- cpp
- Domain
- build-system, testing
Research direction
Start with the Makefile in tests/charm++/objloads and compare its targets with those in the other TESTDIRS directories. Check both Makefile branches and how the top-level smptest target invokes each directory. Add a suitable smptest target, then confirm that make test in tests/charm++ succeeds on an SMP build.
Written by the indexing model from the issue text.
Description
On an SMP build (every reconverse build has CMK_SMP=1), make test in tests/charm++ ends by running make smptest, which runs smptest in every directory of TESTDIRS. tests/charm++/objloads (added by #4182) has no smptest target, in either branch of its Makefile, so the top-level run fails:
make[1]: *** No rule to make target `smptest'. Stop.
make: *** [smptest-objloads] Error 2
CI does not see it, because the workflow runs each directory in TEST_DIRS with its own make test and never runs the top-level tests/charm++ target. A local make test in tests/charm++ exits 2 on any reconverse build.
Fix: give objloads an smptest target, like the other directories. It could run the same server and client with +p2 in one process, or be smptest: test in the tracing branch and smptest: all in the skip branch.
Found while running the full tests/charm++ suite for a core PR, on macOS (debug syncft build on recharm 0dec1471a).
🤖 Generated with Claude Code
- Dominant language
- C++
- Stars
- 241
- Forks
- 62
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 121
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from charmplusplus/charm
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
charmplusplus/charm#4160 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
charmplusplus/charm#3619 · 4 comments ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
charmplusplus/charm#4204 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 49/100
charmplusplus/charm#4200 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 43/100
charmplusplus/charm#4197 ·
Maintainers usually reply within 1 day
All issues in charmplusplus/charm
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
[BUG] VPN auth dialog spawned by the secret agent fails with "TLS support is not available" on NixOSOpenbug nixos umbriel
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
noctalia-dev/noctalia#5310 ·
Maintainers usually reply within 1 day
-
area/docdb kind/bug priority/medium status/awaiting-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
yugabyte/yugabyte-db#37426 ·
Maintainers usually reply within 1 day
-
[Engine] Two prompt block scorers enabled at once: WMMA silently wins and no log line is printedOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Niko1221/Strata#5693 · 2 comments ·
Maintainers usually reply within 4 days
-
torch.special.gammainc/gammaincc lose up to 7 digits in float64 for a > 20 near x: single-precision pi in the asymptotic seriesPossibly taken @SowndaryaS0201 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
pytorch/pytorch#204127 · 1 comment ·
Maintainers usually reply within 1 day