Repository navigation
Skip the help-topic coverage test on machines with a user ado directory but no Stata install - #355
Conversation
A user ado directory such as ~/ado made the test think Stata was installed, so it ran and failed on a dev machine without Stata.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
On a dev Mac with a
~/adodirectory but no Stata install,tests/integration/help-topic-coverage.test.tsran and failed for all 864 cached commands and 309 expression functions. It counted any directory fromdiscover_stata_ado_paths()as a Stata install, and~/adois only a user ado directory. CI was unaffected because it has neither.The test now runs only when discovery finds an install's
ado/base, where the built-in.sthlpfiles live. Only install roots contributeado/basecandidates.discover_stata_ado_paths()and help resolution are unchanged.Proof: on this machine (only
~/ado) the file now reports 0 fail and 3 skip; before the fix it failed. On voyager, which has/Applications/Stata/ado/base(StataMP 18), the same commit runs the tests and they pass (2 pass). The four gates pass on this machine.Reviewed with sol-loop: 1 round with gpt-6.1-sol. Sol verdict: approved
Created with Claude Opus 5.5 in Claude Code (T3 Code); reviewed by gpt-6.1-sol in Codex.
Summary by CodeRabbit