Skip to content
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

one button to reproduce them all #224

Open
leissa opened this issue May 23, 2023 · 0 comments
Open

one button to reproduce them all #224

leissa opened this issue May 23, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@leissa
Copy link
Member

leissa commented May 23, 2023

We should have a script (or a set of scripts) that allows us to reproduce bugs with one command line. We should add an issue template that forces the issue writer to make use of this.

Essentially, we are not far away from this. We already have:

  • thorin-gtest
  • lit testing

Trouble is, most hard to understand bugs don't occur on master but on some fork/branches ...

Maybe sth like this:
This

./make_lit_error.sh bla/nasty_bug.thorin

will generate the following output

./checkout.sh https://my_url:1337affe && ./probe.sh bla/nasty_bug.thorin

which is the one command line to reproduce the nasty bug.

Or:

./make_gtest_error.sh Nasty.bug

will generate

./checkout.sh https://my_url:1337affe && ./thorin-gtest --gtest_filter='Nasty.bug' --gtest_break_on_failure
@leissa leissa added the enhancement New feature or request label May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant