X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/3e93bafb95608467e438ba7f725fd1f020669f8c..59e7fe6d0c6988687b53c279941c9ebb3f887eed:/test/automated/timer-tests.el diff --git a/test/automated/timer-tests.el b/test/automated/timer-tests.el index bc95df5e77..b006b398a8 100644 --- a/test/automated/timer-tests.el +++ b/test/automated/timer-tests.el @@ -1,6 +1,6 @@ ;;; timer-tests.el --- tests for timers -*- lexical-binding:t -*- -;; Copyright (C) 2013-2014 Free Software Foundation, Inc. +;; Copyright (C) 2013-2015 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. @@ -34,5 +34,9 @@ (sit-for 0 t) (should timer-ran))) -;;; timer-tests.el ends here +(ert-deftest timer-tests-debug-timer-check () + ;; This function exists only if --enable-checking. + (if (fboundp 'debug-timer-check) + (should (debug-timer-check)) t)) +;;; timer-tests.el ends here