Simplify running update-references.sh

This commit is contained in:
David Tolnay
2019-02-17 10:58:09 -08:00
parent 344602d27e
commit bf27b28554
3 changed files with 32 additions and 25 deletions
+18
View File
@@ -0,0 +1,18 @@
#### To run unit tests
```sh
cargo test
```
#### To run ui tests
```sh
(cd deps && cargo clean && cargo update && cargo build)
cargo test --features compiletest
```
#### To update goldens after running ui tests
```sh
tests/ui/update-references.sh
```