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

Added test for generated PChecker logs #815

Merged
merged 1 commit into from
Jan 28, 2025
Merged

Conversation

ChristineZh0u
Copy link
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.

@@ -272,7 +270,6 @@ private TestingEngine(CheckerConfiguration checkerConfiguration, TestMethodInfo

CancellationTokenSource = new CancellationTokenSource();
PrintGuard = 1;
TimelineFileStream = new StreamWriter(checkerConfiguration.OutputDirectory + "timeline.txt");
Copy link
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
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
8 checks passed
@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