Browse Source

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
pre-master-46
rlar 9 years ago
parent
commit
e9a675efb6
  1. 2
      tests/regression/lib-processing/ex1a.cir
  2. 1
      tests/regression/lib-processing/ex1a.out
  3. 2
      tests/regression/lib-processing/ex1b.cir
  4. 1
      tests/regression/lib-processing/ex1b.out
  5. 3
      tests/regression/lib-processing/ex2a.cir
  6. 2
      tests/regression/lib-processing/ex2a.out
  7. 3
      tests/regression/lib-processing/ex3a.cir
  8. 2
      tests/regression/lib-processing/ex3a.out
  9. 4
      tests/regression/parser/minus-minus.cir
  10. 3
      tests/regression/parser/minus-minus.out

2
tests/regression/lib-processing/ex1a.cir

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

1
tests/regression/lib-processing/ex1a.out

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

2
tests/regression/lib-processing/ex1b.cir

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

1
tests/regression/lib-processing/ex1b.out

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

3
tests/regression/lib-processing/ex2a.cir

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

2
tests/regression/lib-processing/ex2a.out

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

3
tests/regression/lib-processing/ex3a.cir

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

2
tests/regression/lib-processing/ex3a.out

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

4
tests/regression/parser/minus-minus.cir

@ -25,7 +25,9 @@ if mismatch(foo, 5.0, 1e-9)
echo "ERROR: foo failed" echo "ERROR: foo failed"
end 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 dash dash --"
echo "INFO: -- yes we can, print upper and lower case --" echo "INFO: -- yes we can, print upper and lower case --"

3
tests/regression/parser/minus-minus.out

@ -5,8 +5,5 @@ Doing analysis at TEMP = 27.000000 and TNOM = 27.000000
No. of Data Rows : 1 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 dash dash --
INFO: -- yes we can, print upper and lower case -- INFO: -- yes we can, print upper and lower case --
Loading…
Cancel
Save