Skip to content

test(cpp): fix params path in the tryparam comma test (cpp CI jobs fail on dev) - #714

Open
yadavchiragg wants to merge 1 commit into
ControlCore-Project:devfrom
yadavchiragg:fix/cpp-tryparam-test-path
Open

yadavchiragg wants to merge 1 commit into
ControlCore-Project:devfrom
yadavchiragg:fix/cpp-tryparam-test-path

Conversation

@yadavchiragg

Copy link
Copy Markdown

The cpp-shm-test, cpp-test-macos and cpp-test-windows jobs fail on dev because TestConcoreHpp reports 2 failures out of 36:

FAIL: tryparam preserves list with comma
FAIL: tryparam preserves subsequent key

test_tryparam_comma_in_value writes concore.params to in/1/, but concore.hpp reads inpath + "1/concore.params" (i.e. in1/), and every other test in the file uses in1/. The file was never found, so both checks failed. This is a test path typo, not a parser bug.

Changed the two paths (write and cleanup) to in1/. TestConcoreHpp now passes 36/36 with g++ and clang++. No library code is changed.

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.

1 participant