simplify defining suites

This commit is contained in:
Dustin J. Mitchell 2022-01-26 00:56:48 +00:00
parent f8cffb798c
commit dd87f7da1e
4 changed files with 34 additions and 31 deletions

View file

@ -26,7 +26,5 @@ Keep the `RUN_TEST`s in the same order as the functions they call.
To add a suite,
1. Add a new C file in `integration-tests/src/bindings_tests/`.
1. Add a new `.file(..)` to build that file in `integration-tests/build.rs`.
1. Add a `suite!(..)` to `integration-tests/src/bindings_tests/mod.rs`.
1. Add a `suite!(..)` to `integration-tests/tests/bindings.rs`.
1. Add a new C file in `integration-tests/src/bindings_tests/`, based off of one of hte others.
1. Add a the suite name to `suites` in `integration-tests/build.rs`.