From 68f3bfc6989b7ad8ca40e18538ff15fb7b72e33a Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Wed, 23 Feb 2022 15:10:43 +0100 Subject: Add a first end-to-end test for action equality This test also demonstrates the notion of equality used in our action graph: actions are considered equal, if they are defined in the same way (regardless of where they are defined); when looking up actions in cache, however, the inputs are considered extensionally. The test also verifies that if one dumps the action graph, the origins of an action (as the same action can be defined in many places) are reported correctly. --- test/end-to-end/TARGETS | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/end-to-end/TARGETS (limited to 'test/end-to-end/TARGETS') diff --git a/test/end-to-end/TARGETS b/test/end-to-end/TARGETS new file mode 100644 index 00000000..b7e03a0d --- /dev/null +++ b/test/end-to-end/TARGETS @@ -0,0 +1,8 @@ +{ "tool-under-test": + {"type": "install", "files": {"bin/tool-under-test": [".", "just"]}} +, "TESTS": + { "type": "install" + , "tainted": ["test"] + , "dirs": [[["./", "actions", "TESTS"], "actions"]] + } +} -- cgit v1.2.3