aboutsummaryrefslogtreecommitdiff
path: root/tests/expand/README.md
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2021-02-24 11:40:13 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-24 11:40:13 +0000
commit80e2414e10860e3c48745df4dbb79860fd48d465 (patch)
treeaa583765ea0c0fd8bddb46d99bb04eae1334edd3 /tests/expand/README.md
parentdf0f8b492944fcf2e341cf28f2cc9cecaa3c1bb2 (diff)
parent3e9a78f8a652042b466f19f7cfd9a72c7e6967c0 (diff)
downloadpin-project-80e2414e10860e3c48745df4dbb79860fd48d465.tar.gz
Upgrade rust/crates/pin-project to 1.0.5 am: c1311073c0 am: 839279b456 am: 60a03099d2 am: 3e9a78f8a6
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-project/+/1581962 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I2e4e3581c6fe655ec346cf5bd7a7c667c4bffd9d
Diffstat (limited to 'tests/expand/README.md')
-rw-r--r--tests/expand/README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/expand/README.md b/tests/expand/README.md
new file mode 100644
index 0000000..e3e708d
--- /dev/null
+++ b/tests/expand/README.md
@@ -0,0 +1,17 @@
+# Expansion tests
+
+Similar to ui tests, but instead of checking the compiler output, this checks
+the code generated by macros.
+
+See [examples](../../examples/README.md) for descriptions of what the generated
+code does, and why it needs to be generated.
+
+To run this test, run the following command:
+
+```sh
+cargo +nightly test --test expandtest
+```
+
+Locally, this test updates the files in the `expand` directory if there are
+changes to the generated code. If there are any changes to the files in the
+`expand` directory after running the test, please commit them.