diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-03-03 11:26:30 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-03-03 13:18:52 +0100 |
commit | d2cc0c0218ab1b6247877a34f3fea504e7865d6f (patch) | |
tree | b1dc65b3910f5897f9affb747c1a960ac729ab99 /test/end-to-end/generated-binary/TARGETS | |
parent | 7ff771321861559905f1681eae8c48b5ef48705f (diff) | |
download | justbuild-d2cc0c0218ab1b6247877a34f3fea504e7865d6f.tar.gz |
Add end-to-end test executing compiled binaries
Add a test that compiles many C binaries and runs them. The main
purpose of the test is to detect any race conditions in this
scenario.
Diffstat (limited to 'test/end-to-end/generated-binary/TARGETS')
-rw-r--r-- | test/end-to-end/generated-binary/TARGETS | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/test/end-to-end/generated-binary/TARGETS b/test/end-to-end/generated-binary/TARGETS index 2f9164e9..e19f97f3 100644 --- a/test/end-to-end/generated-binary/TARGETS +++ b/test/end-to-end/generated-binary/TARGETS @@ -5,5 +5,15 @@ , "keep": ["out/out.txt"] , "deps": [["test/end-to-end", "tool-under-test"]] } -, "TESTS": {"type": "install", "tainted": ["test"], "deps": ["shell"]} +, "compile rules": + {"type": "install", "files": {"RULES": "data/RULES.compiled"}} +, "compiled": + { "type": ["@", "rules", "shell/test", "script"] + , "name": ["compiled"] + , "test": ["compiled.sh"] + , "keep": ["graph.json", "out/out.txt"] + , "deps": [["test/end-to-end", "tool-under-test"], "compile rules"] + } +, "TESTS": + {"type": "install", "tainted": ["test"], "deps": ["shell", "compiled"]} } |