-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Put Rust and pgrx tests in separate modules
Since they compile separately, different dependencies can lead to warnings (see pgcentralfoundation/pgrx#1774 for details). So move shared functions to a new `test_util` module, keep the Rust-only tests in `mod test`, and keep the pgrx tests in `mod tests`. I wish I could put the pgrx tests in the required `pg_test` schema, but it appears that they require that the module be named "tests". Thanks @eeeebbbbrrrr for suggesting this solution.
- Loading branch information
Showing
1 changed file
with
32 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters