Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i#6112: Require a full output match in runmulti #6113

Merged
merged 2 commits into from
Jun 5, 2023

Conversation

derekbruening
Copy link
Contributor

@derekbruening derekbruening commented Jun 5, 2023

Brackets the expected outpout with ^$ to require a complete match for tests using runmulti.cmake. This matches what we do for single-command tests for their PASS_REGULAR_EXPRESSION property.

Adjusts the expected output for 6 tests to meet the new check.

Clears the old command output in runmulti to avoid bogus output seen in the delay-func test where the post-command's echo has ho glob match so it was appending another "Hello, world!".

Fixes #6112

Brackets the expected outpout with ^$ to require a complete match for
tests using runmulti.cmake.  This matches what we do for
single-command tests for their PASS_REGULAR_EXPRESSION property.

Fixes #6112
Clear old command output in runmulti to avoid bogus output seen in delay-func test.
@derekbruening derekbruening merged commit a4c601b into master Jun 5, 2023
@derekbruening derekbruening deleted the i6112-runmulti-full-output branch June 5, 2023 19:51
derekbruening added a commit that referenced this pull request Jun 6, 2023
abhinav92003 added a commit that referenced this pull request Jun 6, 2023
Ensures that we do not track unique PCs in the combined interval
snapshots. Since the shard-local snapshots themselves do not track
unique pcs, the combined snapshot also wouldn't have anything in
the unique pc set. But we need to explicitly disable unique pcs
tracking so that we skip printing that field. This was missing in the
original PR #6097.

Also fixes expected regex of basic counts interval output so that only
digits and leading white-spaces are accepted at the beginning of each
line. Otherwise we aren't able to detect that the unique pc addrs line
in the counters output is still present.

Also fixes a regression due to #6113 which causes a regex match
failure in case only a single interval is output for the whole trace.

Issue: #6020, #6112
derekbruening added a commit that referenced this pull request Jun 7, 2023
Removes a message line accidentally left in PR #6113.

Issue: #6112
derekbruening added a commit that referenced this pull request Jun 7, 2023
Removes a message line accidentally left in PR #6113.

Issue: #6112
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.

runmulti.cmake fails to require a full test output match
2 participants