-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
test: update compiled sqlite tests to match other tests #56446
Conversation
This commit updates the sqlite compiled tests to be structured like other compiled tests. Refs: nodejs#56347
Review requested:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #56446 +/- ##
==========================================
- Coverage 88.53% 88.52% -0.02%
==========================================
Files 657 657
Lines 190741 190741
Branches 36607 36606 -1
==========================================
- Hits 168881 168855 -26
- Misses 15036 15080 +44
+ Partials 6824 6806 -18 |
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.
RSLGTM
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.
A shame that a "pessimistic rebuild" is needed, but I have confirmed that this fixes the original problem that was raised, so like @lpinca I will RSLGTM this one.
"target_name": "sqlite_extension", | ||
"type": "shared_library", | ||
"sources": [ "extension.c" ], | ||
"include_dirs": [ "../../../deps/sqlite" ] |
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.
Shouldn't we be checking for --shared-sqlite
here?
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 not sure. We weren't before, but it's possible.
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.
In any case, the test is skipped when using shared SQLite, so it's not a concern
Landed in d0ff34f |
This commit updates the sqlite compiled tests to be structured like other compiled tests.
Refs: #56347