(cond
((eq (aref testcover-vector idx) 'unknown)
(aset testcover-vector idx val))
- ((not (equal (aref testcover-vector idx) val))
+ ((not (condition-case ()
+ (equal (aref testcover-vector idx) val)
+ ;; TODO: Actually check circular lists for equality.
+ (circular-list nil)))
(aset testcover-vector idx 'ok-coverage)))
val)
((eq (aref testcover-vector idx) '1value)
(aset testcover-vector idx (cons '1value val)))
((not (and (eq (car-safe (aref testcover-vector idx)) '1value)
- (equal (cdr (aref testcover-vector idx)) val)))
+ (condition-case ()
+ (equal (cdr (aref testcover-vector idx)) val)
+ ;; TODO: Actually check circular lists for equality.
+ (circular-list nil))))
(error "Value of form marked with `1value' does vary: %s" val)))
val)