-
Notifications
You must be signed in to change notification settings - Fork 274
Add regression test information to COMPILING.md #5781
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
Conversation
e754c25
to
c4f2b7b
Compare
REGRESSION_TESTS.md
Outdated
This document assumes you have already been able to build CPROVER on | ||
your chosen architecture. For details on building CPROVER see | ||
COMPILING.md. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we please merge this documentation with doc/architectural/compilation-and-development.md rather than adding another file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy to merge this file with another one. I started a draft pull request to make sure I wasn't putting bad information in or adding things in the wrong place. If we all agree on doc/architectural/compilation-and-development.md as the right location I'll move everything there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for bringing up all these gaps in our documentation, and coming up with fixes for these! I'd just like to make sure we don't have the documentation in multiple places. I'm no longer able to tell what's actually needed for someone to get started, and where they might be looking for documentation. Is perhaps CONTRIBUTING.md
(which we don't currently have) the canonical place for people to get started?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm happy to try and sort it all out. I'm using myself as a test subject for this (before I know my way around well), so hopefully do not create too many (draft) proposals to change things that are explained somewhere.
For (a possible) CONTRIBUTING.md
, would this also include the various links and information on policies for style and committing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we had a CONTRIBUTING.md
, perhaps it could serve as a collection of pointers towards documentation, pointing people to COMPILING.md
, CODING_STANDARD.md
, and the sections of the manual (such as doc/architectural/compilation-and-development.md
).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Btw, the documentation is published at http://cprover.diffblue.com (see link on top fo README)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is our link preference here, should we link to http://cprover.diffblue.com/ or do we reference inside the repository since that page is generated from doc/architectural/front-page.md ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
README.md
references http://cprover.diffblue.com/, so I'd go with that in top-level files (README.md
, COMPILING.md
, CODING_STANDARD.md
, and possibly any files to be added at that level).
@tautschnig This CSmith check just failed: https://github.com/diffblue/cbmc/pull/5781/checks?check_run_id=1762881802 How do we interpret that? |
Codecov Report
@@ Coverage Diff @@
## develop #5781 +/- ##
===========================================
+ Coverage 74.90% 74.98% +0.08%
===========================================
Files 1447 1447
Lines 158198 158214 +16
===========================================
+ Hits 118491 118637 +146
+ Misses 39707 39577 -130
Continue to review full report at Codecov.
|
See #5780 - hoping for @kroening or @chrisr-diffblue to review this ASAP. |
21de8d4
to
c48457f
Compare
COMPILING.md
Outdated
@@ -482,3 +482,42 @@ successfully on Windows or macOS. | |||
The argument for the IPASIR parameter gives the build system the location for | |||
the IPASIR headers, which is needed for the cbmc includes of `ipasir.h`. The | |||
compiled binary will be placed in `cbmc/src/cbmc/cbmc`. | |||
This document assumes you have already been able to build CPROVER on | |||
your chosen architecture. For details on building CPROVER see | |||
COMPILING.md. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this content is in COMPILING.md
- maybe its better to say see section BLAH
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
COMPILING.md
Outdated
simply running make as follows. | ||
``` | ||
cd regression | ||
make |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe there's a slight difference between cmake/make in what tests actually run, which might be worth either clarifying, or adjusting the instructions to elide. That is around unit tests... I believe the ctest
commands run both regression and unit tests, whereas I though the make command you show here only runs the regression tests. My recommendation might be to tweak the section title to say "RUNNING REGRESSION AND UNIT TESTS", and then tweak the instructions for make to show how to run unit tests as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is clearer now.
d83dccb
to
1e919e6
Compare
This adds information on how to run regression tests using bnoth cmake and make to COMPILING.md. Also ensures COMPILING.md follows clang-format-7.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, thats a great addition to the docs!
This adds information on how to run regression tests using bnoth cmake and make to COMPILING.md.
Also ensures COMPILING.md follows clang-format-7.