autopkgtest_keep = seq-*.el

# Under emacs25, the second call to `require' in seq-tests.el does
# nothing because the seq.el included with emacs25 has already been
# loaded.  That means functions defined in versions of seq.el newer
# than the one bundled with Emacs are left undefined, and the test
# suite fails.  So set ert_eval to unload the bundled version before
# trying to run tests.

# Note that package.el DTRT when elpa-seq is installed: the bundled
# seq.el is overridden by the packaged seq.el during a normal Emacs
# startup.

ert_eval = (shut-up (when (featurep 'seq) (unload-feature 'seq t)))
