summaryrefslogtreecommitdiff
path: root/MIL_testing/integration_test.py
diff options
context:
space:
mode:
authorTanner Robison <[email protected]>2026-07-07 20:48:28 -0700
committerYour Name <[email protected]>2026-07-10 19:51:37 +0000
commit4f36a1654ff6560c915a39e1f9999e0efc4a9680 (patch)
tree984b234215ee1972a396d1491e5dc3fd07da5d4c /MIL_testing/integration_test.py
parente2b30976cdaccf9d2b9820fefa22ced03c82711f (diff)
SPICE model in the loop testing
Diffstat (limited to 'MIL_testing/integration_test.py')
-rw-r--r--MIL_testing/integration_test.py14
1 files changed, 14 insertions, 0 deletions
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)