regression/**/*.cir, hide printed numeric values in some test cases

these tests shall be decided by "exit" value,
not be "diffing" the printed numerical values
This commit is contained in:
rlar 2017-09-14 22:22:07 +02:00
parent 9f931ad155
commit e9a675efb6
10 changed files with 9 additions and 14 deletions

View File

@ -15,7 +15,7 @@ R2 n1 n2 2k
.control
op
print v(check0)
echo "Note: v(check0) = $&v(check0)"
if abs(v(check0)) > 1e-9
quit 1

View File

@ -5,5 +5,4 @@ Doing analysis at TEMP = 27.000000 and TNOM = 27.000000
No. of Data Rows : 1
v(check0) = 0.000000e+00
INFO: ok

View File

@ -19,7 +19,7 @@ R4 n1 n2 4k
.control
op
print v(check0)
echo "Note: v(check0) = $&v(check0)"
if abs(v(check0)) > 1e-9
quit 1

View File

@ -5,5 +5,4 @@ Doing analysis at TEMP = 27.000000 and TNOM = 27.000000
No. of Data Rows : 1
v(check0) = 0.000000e+00
INFO: ok

View File

@ -15,7 +15,8 @@ Vcheck2 9 check2 2.0V
.control
op
print v(check1) v(check2)
echo "Note: v(check1) = $&v(check1)"
echo "Note: v(check2) = $&v(check2)"
if abs(v(check1)) > 1e-9
quit 1

View File

@ -5,6 +5,4 @@ Doing analysis at TEMP = 27.000000 and TNOM = 27.000000
No. of Data Rows : 1
v(check1) = 0.000000e+00
v(check2) = 0.000000e+00
INFO: ok

View File

@ -15,7 +15,8 @@ Vcheck2 9 check2 2.0V
.control
op
print v(check1) v(check2)
echo "Note: v(check1) = $&v(check1)"
echo "Note: v(check2) = $&v(check2)"
if abs(v(check1)) > 1e-9
quit 1

View File

@ -5,6 +5,4 @@ Doing analysis at TEMP = 27.000000 and TNOM = 27.000000
No. of Data Rows : 1
v(check1) = 0.000000e+00
v(check2) = 0.000000e+00
INFO: ok

View File

@ -25,7 +25,9 @@ if mismatch(foo, 5.0, 1e-9)
echo "ERROR: foo failed"
end
print v(1) v(2) foo
echo "Note: v(1) = $&v(1)"
echo "Note: v(2) = $&v(2)"
echo "Note: foo = $&v(foo)"
echo "INFO: -- yes we can, print dash dash --"
echo "INFO: -- yes we can, print upper and lower case --"

View File

@ -5,8 +5,5 @@ Doing analysis at TEMP = 27.000000 and TNOM = 27.000000
No. of Data Rows : 1
v(1) = 5.000000e+00
v(2) = 5.000000e+00
foo = 5.000000e+00
INFO: -- yes we can, print dash dash --
INFO: -- yes we can, print upper and lower case --