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

update_references.sh script #184

Open
edulix opened this issue Sep 1, 2019 · 0 comments
Open

update_references.sh script #184

edulix opened this issue Sep 1, 2019 · 0 comments

Comments

@edulix
Copy link

edulix commented Sep 1, 2019

Part of the output when there's a compiler error is something like this:

The actual stderr differed from the expected stderr.
Actual stderr saved to /tmp/compiletestmAAI3R/include_not_found_text_clauses/include_not_found_text_clauses.stderr
To update references, run this command from build directory:
tests/ui/update-references.sh '/tmp/compiletestmAAI3R' 'include_not_found_text_clauses/include_not_found_text_clauses.rs'

But that script doesn't work. If you try to execute it, it fails:

$ tests/ui/update-references.sh '/tmp/compiletestmAAI3R' 'include_not_found_text_clauses/include_not_found_text_clauses.rs'
bash: tests/ui/update-references.sh: No such file or directory

It would be very handy if there was an easy way to update references in specific or in all the unit tests. It can get very tedious doing it by hand.

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

No branches or pull requests

1 participant