about summary refs log tree commit diff
path: root/tests/run-make/rustdoc-scrape-examples-test
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2024-05-19 14:00:12 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2024-05-19 15:02:30 +0200
commit2f8b98c6643c3c1ad94942d54559fbbf1dd16b78 (patch)
treec98cc6a6c53a1a8060b4f19214f9d9fafd2cd0f1 /tests/run-make/rustdoc-scrape-examples-test
parent7c735958b2c5c25565625820134d82b0871a426e (diff)
downloadrust-2f8b98c6643c3c1ad94942d54559fbbf1dd16b78.tar.gz
rust-2f8b98c6643c3c1ad94942d54559fbbf1dd16b78.zip
Migrate `run-make/rustdoc-scrape-examples-test` to new `rmake.rs`
Diffstat (limited to 'tests/run-make/rustdoc-scrape-examples-test')
-rw-r--r--tests/run-make/rustdoc-scrape-examples-test/Makefile6
-rw-r--r--tests/run-make/rustdoc-scrape-examples-test/rmake.rs6
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/run-make/rustdoc-scrape-examples-test/Makefile b/tests/run-make/rustdoc-scrape-examples-test/Makefile
deleted file mode 100644
index 1235ead6751..00000000000
--- a/tests/run-make/rustdoc-scrape-examples-test/Makefile
+++ /dev/null
@@ -1,6 +0,0 @@
-extra_flags := --scrape-tests
-deps := ex
-
-include ../rustdoc-scrape-examples-multiple/scrape.mk
-
-all: scrape
diff --git a/tests/run-make/rustdoc-scrape-examples-test/rmake.rs b/tests/run-make/rustdoc-scrape-examples-test/rmake.rs
new file mode 100644
index 00000000000..f96ba113ff7
--- /dev/null
+++ b/tests/run-make/rustdoc-scrape-examples-test/rmake.rs
@@ -0,0 +1,6 @@
+#[path = "../rustdoc-scrape-examples-remap/scrape.rs"]
+mod scrape;
+
+fn main() {
+    scrape::scrape(&["--scrape-tests"]);
+}