From 4f36a1654ff6560c915a39e1f9999e0efc4a9680 Mon Sep 17 00:00:00 2001 From: Tanner Robison Date: Tue, 7 Jul 2026 20:48:28 -0700 Subject: SPICE model in the loop testing --- MIL_testing/integration_test.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 MIL_testing/integration_test.py (limited to 'MIL_testing/integration_test.py') diff --git a/MIL_testing/integration_test.py b/MIL_testing/integration_test.py new file mode 100644 index 0000000..7c8e2fa --- /dev/null +++ b/MIL_testing/integration_test.py @@ -0,0 +1,14 @@ +import subprocess + +result = subprocess.run( + ["ngspice", "-b", "ng_test1.cir"], + capture_output=True, + text=True +) + +print("Return code:", result.returncode) +print(result.stdout) + +if result.stderr: + print("Errors:") + print(result.stderr) -- cgit v1.2.3