Skip to content
This repository has been archived by the owner on Mar 7, 2021. It is now read-only.

Run hello-world through tests #83

Open
geofft opened this issue May 6, 2019 · 5 comments
Open

Run hello-world through tests #83

geofft opened this issue May 6, 2019 · 5 comments
Labels
testing Something related to how we test this project

Comments

@geofft
Copy link
Collaborator

geofft commented May 6, 2019

It uses String which none of the others do, and it has its own makefile. We should have coverage for it since it's the user-facing example.

@alex
Copy link
Member

alex commented May 6, 2019 via email

@geofft
Copy link
Collaborator Author

geofft commented May 6, 2019

I think we should definitely have a copy-and-paste example, including a working kbuild-compatible Makefile. I'm fine with moving it into the tests directory and updating the README, but we should keep the Makefile.

Also hm, example-sysctl doesn't go through CI either, does it? That one seems pretty redundant with the sysctl test.

@alex
Copy link
Member

alex commented May 6, 2019 via email

@geofft
Copy link
Collaborator Author

geofft commented May 6, 2019

Possible approach: let hello-world be the template. If there's a file (mostly Makefile and Cargo.toml) that's in hello-world but not in some other test, it gets a copy of that file with s/hello-world/$test/.

That way hello-world gets to remain a copy-and-paste example but we also don't get duplication of Makefiles etc.

@alex
Copy link
Member

alex commented May 6, 2019 via email

@alex alex added the testing Something related to how we test this project label Sep 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
testing Something related to how we test this project
Projects
None yet
Development

No branches or pull requests

2 participants