Skip to content

Samples #172

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

Merged
merged 1 commit into from
Apr 9, 2021
Merged

Samples #172

merged 1 commit into from
Apr 9, 2021

Conversation

ojeda
Copy link
Member

@ojeda ojeda commented Apr 9, 2021

Reorganizes and splits tests into samples/

Now that we have them split, we can remove the GitHub-only ones, too,
since we have enough to test several builtins + several loadable.

However, in order to keep testing the module parameters in both
builtin vs. loadable and default vs. custom, we generate the modules
on the fly based on the base one.

Takes also the chance to update the .configs; as well as cleanups
the unused imports in each sample now that they are split.

Updates the docs accordingly too.

Fixes #65.

Signed-off-by: Miguel Ojeda [email protected]

Reorganizes and splits tests into `samples/`

Now that we have them split, we can remove the GitHub-only ones, too,
since we have enough to test several builtins + several loadable.

However, in order to keep testing the module parameters in both
builtin vs. loadable and default vs. custom, we generate the modules
on the fly based on the base one.

Takes also the chance to update the `.config`s; as well as cleanups
the unused imports in each sample now that they are split.

Updates the docs accordingly too.

Fixes Rust-for-Linux#65.

Signed-off-by: Miguel Ojeda <[email protected]>
@ojeda
Copy link
Member Author

ojeda commented Apr 9, 2021

@wedsonaf This is the one you can put yours on top.

@ojeda ojeda merged commit 7ed5aa1 into Rust-for-Linux:rust Apr 9, 2021
@ojeda ojeda deleted the samples branch April 9, 2021 13:30
@wedsonaf
Copy link

wedsonaf commented Apr 9, 2021

@wedsonaf This is the one you can put yours on top.

Thanks, Miguel!

Do you think it would be ok to have to C counterpart in the same directory? I think it would be better if they were side by side.

@ojeda
Copy link
Member Author

ojeda commented Apr 9, 2021

You're welcome! :) Yeah, just put them both there! After all, it is a C example to counter the Rust one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Move example driver to samples/
3 participants