From cab5c8e2b73fc6084ead0f6bf61a649e0c4be1f5 Mon Sep 17 00:00:00 2001 From: Volker Weißmann Date: Mon, 24 Mar 2025 18:23:56 +0100 Subject: rewriter: Rewrite how we add/remove source files Change the semantics of IntrospectionBuildTarget.source_nodes and IntrospectionBuildTarget.extra_files . The rewriter and the static introspection tool used to be very broken, now it is *less* broken, hence we add some tests in this commit. Fixes #11763 --- test cases/rewrite/1 basic/info.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'test cases/rewrite/1 basic/info.json') diff --git a/test cases/rewrite/1 basic/info.json b/test cases/rewrite/1 basic/info.json index 0f1a3bd8c..9977f5a87 100644 --- a/test cases/rewrite/1 basic/info.json +++ b/test cases/rewrite/1 basic/info.json @@ -53,5 +53,25 @@ "type": "target", "target": "trivialprog10", "operation": "info" + }, + { + "type": "target", + "target": "trivialprog11", + "operation": "info" + }, + { + "type": "target", + "target": "trivialprog12", + "operation": "info" + }, + { + "type": "target", + "target": "trivialprog13", + "operation": "info" + }, + { + "type": "target", + "target": "rightName", + "operation": "info" } ] -- cgit v1.2.3