upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/scripts/dev.py
diff options
context:
space:
mode:
authorZack <zmasi21@gmail.com>2026-11-28 03:05:44 -0800
committerZack <zmasi21@gmail.com>2026-11-28 03:05:44 -0800
commitf77b4d80d0483027a978511d1d77d58a9523e43a (patch)
tree1b92d1f61844221177f7cd697133bea23c28e5f6 /scripts/dev.py
parenta5d954a4a789591ec57330ced9705096fedefba0 (diff)
parent1fb0744735b82a2cf3961e6d850fe0aeab32ed8d (diff)
Merge remote-tracking branch 'origin/main' into fix/rdna2spirv-f16-interp-computed-ij
Diffstat (limited to 'scripts/dev.py')
-rw-r--r--scripts/dev.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/dev.py b/scripts/dev.py
index fada30da4..4170aac63 100644
--- a/scripts/dev.py
+++ b/scripts/dev.py
@@ -13,6 +13,7 @@ from pathlib import Path
13ROOT = Path(__file__).resolve().parents[1] 13ROOT = Path(__file__).resolve().parents[1]
14BOOT_TRACE = "tools/boot_trace.py" 14BOOT_TRACE = "tools/boot_trace.py"
15GUEST_SCENE = "scripts/run_guest_scene.py" 15GUEST_SCENE = "scripts/run_guest_scene.py"
16SMOKE = "scripts/smoke.py"
16TOOLS = ( 17TOOLS = (
17 ( 18 (
18 "boot-trace", 19 "boot-trace",
@@ -29,6 +30,14 @@ TOOLS = (
29 "Wine when running the Windows loader outside Windows", 30 "Wine when running the Windows loader outside Windows",
30 ), 31 ),
31 ), 32 ),
33 (
34 "smoke",
35 SMOKE,
36 (
37 "Python 3.10+",
38 "Synthetic source-only smoke suite (compilation, clean-room, CLI help, fast tests)",
39 ),
40 ),
32) 41)
33 42
34 43
@@ -94,6 +103,8 @@ def main() -> int:
94 return run_producer(BOOT_TRACE, argv[1:]) 103 return run_producer(BOOT_TRACE, argv[1:])
95 if argv[:1] == ["guest-scene"]: 104 if argv[:1] == ["guest-scene"]:
96 return guest_scene(argv[1:]) 105 return guest_scene(argv[1:])
106 if argv[:1] == ["smoke"]:
107 return run_producer(SMOKE, argv[1:])
97 108
98 parser = argparse.ArgumentParser(description=__doc__) 109 parser = argparse.ArgumentParser(description=__doc__)
99 commands = parser.add_subparsers(dest="command", required=True) 110 commands = parser.add_subparsers(dest="command", required=True)
@@ -101,6 +112,7 @@ def main() -> int:
101 inventory.add_argument("--json", action="store_true", help="write a JSON inventory to stdout") 112 inventory.add_argument("--json", action="store_true", help="write a JSON inventory to stdout")
102 commands.add_parser("boot-trace", help="summarize startup and D3D12 boot traces") 113 commands.add_parser("boot-trace", help="summarize startup and D3D12 boot traces")
103 commands.add_parser("guest-scene", help="run the synthetic guest scene with a required --out") 114 commands.add_parser("guest-scene", help="run the synthetic guest scene with a required --out")
115 commands.add_parser("smoke", help="run the synthetic source-only smoke suite (DX-07)")
104 args = parser.parse_args(argv) 116 args = parser.parse_args(argv)
105 117
106 result = discover() 118 result = discover()