From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dW0yr-0006sj-Uo for guix-patches@gnu.org; Fri, 14 Jul 2017 09:50:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dW0yo-0008DX-1x for guix-patches@gnu.org; Fri, 14 Jul 2017 09:50:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35278) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dW0yn-0008DK-UO for guix-patches@gnu.org; Fri, 14 Jul 2017 09:50:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dW0yn-0004Ri-JD for guix-patches@gnu.org; Fri, 14 Jul 2017 09:50:01 -0400 Subject: [bug#27673] Failing tests Resent-Message-ID: From: Oleg Pykhalov In-Reply-To: <52c335a3.AEQANFFEJwgAAAAAAAAAAAPNhpIAAAACwQwAAAAAAAW9WABZaLFC@mailjet.com> References: <20170712204731.14463-1-go.wigust@gmail.com> <52c335a3.AEQANFFEJwgAAAAAAAAAAAPNhpIAAAACwQwAAAAAAAW9WABZaLFC@mailjet.com> Date: Fri, 14 Jul 2017 16:49:10 +0300 Message-ID: <87zic72ko9.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Arun Isaac Cc: 27673@debbugs.gnu.org Arun Isaac writes: > Could you also package the tests? You'll need something very similar to > what the emacs-which-key package has. Sure, but they fails :-) (arguments `(#:phases (modify-phases %standard-phases (add-before 'install 'check (lambda _ (zero? (system* "emacs" "--batch" "-L" "." "-l" "org-pomodoro-tests.el" "-f" "ert-run-tests-batch-and-exit"))))))) Running 2 tests (2017-07-14 13:09:26+0000) Test org-pomodoro-expires-when-last-clockin-is-new backtrace: (let ((fn-5 (function equal)) (args-6 (list nil (org-pomodoro-expire (let ((org-pomodoro-last-clock-in (current-time)) (org-pomodoro-expi (lambda nil (let ((org-pomodoro-last-clock-in (current-time)) (org-p ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc ert-run-test([cl-struct-ert-test org-pomodoro-expires-when-last-cloc ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test o ert-run-tests(t #[385 "\306\307\"\203G\211\211G\310U\203=00\211@\20 ert-run-tests-batch(nil) ert-run-tests-batch-and-exit() command-line-1(("-L" "." "-l" "org-pomodoro-tests.el" "-f" "ert-run- command-line() normal-top-level() Test org-pomodoro-expires-when-last-clockin-is-new condition: (void-function org-pomodoro-expires-p) FAILED 1/2 org-pomodoro-expires-when-last-clockin-is-new Test org-pomodoro-expires-when-last-clockin-too-old backtrace: (let ((fn-0 (function equal)) (args-1 (list t (org-pomodoro-expires- (let ((org-pomodoro-last-clock-in (quote (0 120 0 0))) (org-pomodoro (lambda nil (let ((org-pomodoro-last-clock-in (quote (0 120 0 0))) ( ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc ert-run-test([cl-struct-ert-test org-pomodoro-expires-when-last-cloc ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test o ert-run-tests(t #[385 "\306\307\"\203G\211\211G\310U\203=00\211@\20 ert-run-tests-batch(nil) ert-run-tests-batch-and-exit() command-line-1(("-L" "." "-l" "org-pomodoro-tests.el" "-f" "ert-run- command-line() normal-top-level() Test org-pomodoro-expires-when-last-clockin-too-old condition: (void-function org-pomodoro-expires-p) FAILED 2/2 org-pomodoro-expires-when-last-clockin-too-old Ran 2 tests, 0 results as expected, 2 unexpected (2017-07-14 13:09:26+0000) 2 unexpected results: FAILED org-pomodoro-expires-when-last-clockin-is-new FAILED org-pomodoro-expires-when-last-clockin-too-old >> + (propagated-inputs >> + `(("emacs-alert" ,emacs-alert))) >> + (home-page "https://github.com/lolownia/org-pomodoro") >> + (synopsis "Pomodoro technique for org-mode") >> + (description >> + "@code{emacs-org-pomodoro} adds very basic support for Pomodoro te= chnique >> +in Emacs org-mode.") > > Could you extend the description a little more, perhaps by paraphrasing > paragraph 3 of README.md...? Sure, I think it's appropriate: @code{emacs-org-pomodoro} adds very basic support for Pomodoro technique in Emacs org-mode. Run @code{M-x org-pomodoro} for the task at point or select one of the last tasks that you clocked time for. Each clocked-in pomodoro starts a timer of 25 minutes and after each pomodoro a break timer of 5 minutes is started automatically. Every 4 breaks a long break is started with 20 minutes. All values are customizable.