Skip to content

Added test for generated PChecker logs#815

Merged
ankushdesai merged 1 commit intomasterfrom
test/logger_test
Jan 28, 2025
Merged

Added test for generated PChecker logs#815
ankushdesai merged 1 commit intomasterfrom
test/logger_test

Conversation

@ChristineZh0u
Copy link
Copy Markdown
Contributor

@ChristineZh0u ChristineZh0u commented Jan 23, 2025

Added test for PChecker log generation against p model: Feature1SMLevelDecls/DynamicError/bug2/bug2.p.
Also removed "timeline.txt" generation since nothing gets written into this file currently.


CancellationTokenSource = new CancellationTokenSource();
PrintGuard = 1;
TimelineFileStream = new StreamWriter(checkerConfiguration.OutputDirectory + "timeline.txt");
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this being removed because it was causing the new test to fail (because of the unexpected file)? Or is it just cleanup?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both. First it was causing the new test to fail. Then during debugging, I found that nothing is writing into the stream.

@ankushdesai ankushdesai merged commit 27a1d2f into master Jan 28, 2025
@ankushdesai ankushdesai deleted the test/logger_test branch January 28, 2025 00:06
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.

3 participants