unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#51014: emacs-org-super-agenda@1.2 has broken tests
@ 2021-10-04 15:22 Katherine Cox-Buday
  2021-10-04 19:18 ` Pierre Langlois
  0 siblings, 1 reply; 4+ messages in thread
From: Katherine Cox-Buday @ 2021-10-04 15:22 UTC (permalink / raw)
  To: 51014

It looks like it expects a ~/test.org file to be present and prompts for user input when that is not the case.

#+begin_example
  10:17 katco says: guix build emacs-org-super-agenda
  The following derivation will be built:
     /gnu/store/amckrppdlq3331sf1k3wdwz2s2xq09j8-emacs-org-super-agenda-1.2.drv
  building /gnu/store/amckrppdlq3331sf1k3wdwz2s2xq09j8-emacs-org-super-agenda-1.2.drv...
  starting phase `set-SOURCE-DATE-EPOCH'
  phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds
  starting phase `set-paths'
  environment variable `PATH' set to `/gnu/store/6kfvm6qhm5g875jp34x84bgiffhwbyn9-emacs-minimal-27.2/bin:/gnu/store/j3vz21b9xgf244z1ivllj61i8975qx6r-util-linux-2.35.1/bin:/gnu/store/j3vz21b9xgf244z1ivllj61i8975qx6r-util-linux-2.35.1/sbin:/gnu/store/v6f44zccwh9z5zk3pjlywjybbi8n2hjh-tar-1.32/bin:/gnu/store/ncydgq2znms5n1d2k5yqshhf58nsixwv-gzip-1.10/bin:/gnu/store/i8h2pcxqdq07ijm3ibkka8f4smn1w48v-bzip2-1.0.8/bin:/gnu/store/9860f1abqj8wjjnwl8a9v54pdcc3bhgf-xz-5.2.4/bin:/gnu/store/60g7r3l01fd7c58yjbm6krgcwj1jkpwg-file-5.38/bin:/gnu/store/n4n560pfvvw50a9369axw5vj5rrqfj1n-diffutils-3.7/bin:/gnu/store/cd5qf3kcnlq35p9k392pjdpdzpsnds70-patch-2.7.6/bin:/gnu/store/hic7snhayfl7m6cpfqqr73nmm19bpqkg-findutils-4.7.0/bin:/gnu/store/swqdvwri9dbv6zssg6v0by7l05hd6wxp-gawk-5.0.1/bin:/gnu/store/ishk7fswcs4gkwcp8mh788z4mvvl9bxh-sed-4.8/bin:/gnu/store/bhs4rj58v8j1narb2454raan2ps38xd8-grep-3.4/bin:/gnu/store/57xj5gcy1jbl9ai2lnrqnpr0dald9i65-coreutils-8.32/bin:/gnu/store/hm40bxnv8jxmbc1lpb7zfimii4xm9m81-make-4.3/bin:/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin:/gnu/store/mpa04aq8lblbcviyxywxcsb1zbi0mf39-ld-wrapper-0/bin:/gnu/store/m1z7cdbqsqyp9xnjw5cvlb4a7gkcg3m4-binutils-2.34/bin:/gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/bin:/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/bin:/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/sbin'
  environment variable `EMACSLOADPATH' set to `/gnu/store/6kfvm6qhm5g875jp34x84bgiffhwbyn9-emacs-minimal-27.2/share/emacs/site-lisp:/gnu/store/i5hynhw1an3w0w09kmmrga5g2qg120l2-emacs-f-0.20.0/share/emacs/site-lisp:/gnu/store/184jn4a8nf4sls3l7k4bk2i4i8yll2z5-emacs-org-9.5/share/emacs/site-lisp:/gnu/store/g3m09phwjc4anjq4j8gz14chsk5gwqjz-emacs-dash-2.19.1/share/emacs/site-lisp:/gnu/store/h40nw0sd9556yx8psdkqyb1qrl5smsm1-emacs-ts-0.2.2/share/emacs/site-lisp:/gnu/store/gd2f63gcxwg3hv1vcqip54gcirhnr8z0-emacs-ht-2.3/share/emacs/site-lisp:/gnu/store/dz7495gb19jhxk10yvcf3dxzhvkgxsrz-emacs-s-1.12.0/share/emacs/site-lisp'
  environment variable `INFOPATH' set to `/gnu/store/6kfvm6qhm5g875jp34x84bgiffhwbyn9-emacs-minimal-27.2/share/info:/gnu/store/184jn4a8nf4sls3l7k4bk2i4i8yll2z5-emacs-org-9.5/share/info:/gnu/store/v6f44zccwh9z5zk3pjlywjybbi8n2hjh-tar-1.32/share/info:/gnu/store/ncydgq2znms5n1d2k5yqshhf58nsixwv-gzip-1.10/share/info:/gnu/store/n4n560pfvvw50a9369axw5vj5rrqfj1n-diffutils-3.7/share/info:/gnu/store/hic7snhayfl7m6cpfqqr73nmm19bpqkg-findutils-4.7.0/share/info:/gnu/store/swqdvwri9dbv6zssg6v0by7l05hd6wxp-gawk-5.0.1/share/info:/gnu/store/ishk7fswcs4gkwcp8mh788z4mvvl9bxh-sed-4.8/share/info:/gnu/store/bhs4rj58v8j1narb2454raan2ps38xd8-grep-3.4/share/info:/gnu/store/57xj5gcy1jbl9ai2lnrqnpr0dald9i65-coreutils-8.32/share/info:/gnu/store/hm40bxnv8jxmbc1lpb7zfimii4xm9m81-make-4.3/share/info:/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/share/info:/gnu/store/m1z7cdbqsqyp9xnjw5cvlb4a7gkcg3m4-binutils-2.34/share/info:/gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/share/info:/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/share/info'
  environment variable `BASH_LOADABLES_PATH' unset
  environment variable `C_INCLUDE_PATH' set to `/gnu/store/6kfvm6qhm5g875jp34x84bgiffhwbyn9-emacs-minimal-27.2/include:/gnu/store/i8h2pcxqdq07ijm3ibkka8f4smn1w48v-bzip2-1.0.8/include:/gnu/store/9860f1abqj8wjjnwl8a9v54pdcc3bhgf-xz-5.2.4/include:/gnu/store/60g7r3l01fd7c58yjbm6krgcwj1jkpwg-file-5.38/include:/gnu/store/swqdvwri9dbv6zssg6v0by7l05hd6wxp-gawk-5.0.1/include:/gnu/store/hm40bxnv8jxmbc1lpb7zfimii4xm9m81-make-4.3/include:/gnu/store/m1z7cdbqsqyp9xnjw5cvlb4a7gkcg3m4-binutils-2.34/include:/gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include:/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/include:/gnu/store/gfapkk5c6hvl1d94m4sqnhn7f9l5gqyh-linux-libre-headers-5.4.20/include'
  environment variable `CPLUS_INCLUDE_PATH' set to `/gnu/store/6kfvm6qhm5g875jp34x84bgiffhwbyn9-emacs-minimal-27.2/include:/gnu/store/i8h2pcxqdq07ijm3ibkka8f4smn1w48v-bzip2-1.0.8/include:/gnu/store/9860f1abqj8wjjnwl8a9v54pdcc3bhgf-xz-5.2.4/include:/gnu/store/60g7r3l01fd7c58yjbm6krgcwj1jkpwg-file-5.38/include:/gnu/store/swqdvwri9dbv6zssg6v0by7l05hd6wxp-gawk-5.0.1/include:/gnu/store/hm40bxnv8jxmbc1lpb7zfimii4xm9m81-make-4.3/include:/gnu/store/m1z7cdbqsqyp9xnjw5cvlb4a7gkcg3m4-binutils-2.34/include:/gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++:/gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include:/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/include:/gnu/store/gfapkk5c6hvl1d94m4sqnhn7f9l5gqyh-linux-libre-headers-5.4.20/include'
  environment variable `LIBRARY_PATH' set to `/gnu/store/6kfvm6qhm5g875jp34x84bgiffhwbyn9-emacs-minimal-27.2/lib:/gnu/store/i8h2pcxqdq07ijm3ibkka8f4smn1w48v-bzip2-1.0.8/lib:/gnu/store/9860f1abqj8wjjnwl8a9v54pdcc3bhgf-xz-5.2.4/lib:/gnu/store/60g7r3l01fd7c58yjbm6krgcwj1jkpwg-file-5.38/lib:/gnu/store/swqdvwri9dbv6zssg6v0by7l05hd6wxp-gawk-5.0.1/lib:/gnu/store/m1z7cdbqsqyp9xnjw5cvlb4a7gkcg3m4-binutils-2.34/lib:/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib:/gnu/store/s3dcqzwqaakv1yx37by9chksdbkgih17-glibc-2.31-static/lib:/gnu/store/hwcky7446s952w0mwchhmm211ll07zrq-glibc-utf8-locales-2.31/lib'
  environment variable `GUIX_LOCPATH' set to `/gnu/store/hwcky7446s952w0mwchhmm211ll07zrq-glibc-utf8-locales-2.31/lib/locale'
  phase `set-paths' succeeded after 0.0 seconds
  starting phase `install-locale'
  using 'en_US.utf8' locale for category "LC_ALL"
  phase `install-locale' succeeded after 0.0 seconds
  starting phase `unpack'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/notes.org' -> `./notes.org'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/org-super-agenda.el' -> `./org-super-agenda.el'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/Makefile' -> `./Makefile'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/makem.sh' -> `./makem.sh'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/LICENSE' -> `./LICENSE'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/.gitignore' -> `./.gitignore'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/org-super-agenda.info' -> `./org-super-agenda.info'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/Cask' -> `./Cask'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/README.org' -> `./README.org'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/examples.org' -> `./examples.org'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/.travis.yml' -> `./.travis.yml'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/test/test.el' -> `./test/test.el'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/test/test.org' -> `./test/test.org'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/test/run' -> `./test/run'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/test/results.el' -> `./test/results.el'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/hooks/pre-push.sh' -> `./hooks/pre-push.sh'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/images/dont-tread-on-emacs-150.png' -> `./images/dont-tread-on-emacs-150.png'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/images/screenshots/faces-and-transformations.png' -> `./images/screenshots/faces-and-transformations.png'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/images/screenshots/screenshot-after.png' -> `./images/screenshots/screenshot-after.png'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/images/screenshots/bascht.png' -> `./images/screenshots/bascht.png'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/images/screenshots/auto-group.png' -> `./images/screenshots/auto-group.png'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/images/screenshots/spacemacs-after.png' -> `./images/screenshots/spacemacs-after.png'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/images/screenshots/zenburn-before.png' -> `./images/screenshots/zenburn-before.png'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/images/screenshots/index.org' -> `./images/screenshots/index.org'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/images/screenshots/spacemacs-before.png' -> `./images/screenshots/spacemacs-before.png'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/images/screenshots/screenshot-before.png' -> `./images/screenshots/screenshot-before.png'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/images/screenshots/zenburn-after.png' -> `./images/screenshots/zenburn-after.png'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/images/screenshots/zaen323.png' -> `./images/screenshots/zaen323.png'
  `/gnu/store/59k0mfpibw9xcrp972z1i0y7n1sh54p6-emacs-org-super-agenda-1.2-checkout/.github/workflows/test.yml' -> `./.github/workflows/test.yml'
  phase `unpack' succeeded after 0.0 seconds
  starting phase `prepare-for-tests.el'
  phase `prepare-for-tests.el' succeeded after 0.0 seconds
  starting phase `expand-load-path'
  source directory "/tmp/guix-build-emacs-org-super-agenda-1.2.drv-0/source" prepended to the `EMACSLOADPATH' environment variable
  expanded load paths for f-0.20.0, org-9.5, dash-2.19.1, ts-0.2.2, ht-2.3, s-1.12.0
  phase `expand-load-path' succeeded after 0.0 seconds
  starting phase `patch-usr-bin-file'
  phase `patch-usr-bin-file' succeeded after 0.0 seconds
  starting phase `patch-source-shebangs'
  patch-shebang: ./hooks/pre-push.sh: changing `/bin/sh' to `/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/sh'
  patch-shebang: ./makem.sh: changing `/usr/bin/env bash' to `/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash'
  patch-shebang: ./test/run: changing `/bin/bash' to `/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash'
  phase `patch-source-shebangs' succeeded after 0.0 seconds
  starting phase `patch-generated-file-shebangs'
  phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
  starting phase `check'
  DEBUG: ARGS:  --debug --
  DEBUG: Remaining args: 
  DEBUG: Local time: Mon 04 Oct 2021 03:17:07 PM UTC
  DEBUG: UTC: Mon 04 Oct 2021 03:17:07 PM UTC
  DEBUG: TESTING...
  Org version: 9.5
  Test results loaded
  Running 66 tests (2021-10-04 15:17:07+0000, selector ‘t’)
  org-super-agenda-mode enabled.
  Non-existent agenda file ~/org/test.org.  [R]emove from list or [A]bort?
  ^C
#+end_example




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#51014: emacs-org-super-agenda@1.2 has broken tests
  2021-10-04 15:22 bug#51014: emacs-org-super-agenda@1.2 has broken tests Katherine Cox-Buday
@ 2021-10-04 19:18 ` Pierre Langlois
  2021-10-04 21:48   ` Katherine Cox-Buday
  0 siblings, 1 reply; 4+ messages in thread
From: Pierre Langlois @ 2021-10-04 19:18 UTC (permalink / raw)
  To: Katherine Cox-Buday; +Cc: 51014

[-- Attachment #1: Type: text/plain, Size: 1539 bytes --]

Hi,

Katherine Cox-Buday <cox.katherine.e@gmail.com> writes:

> It looks like it expects a ~/test.org file to be present and prompts for user input when that is not the case.

Yeah I noticed that as well :-/, I took a quick look at and the tests
can be enabled properly with this commit:
https://github.com/alphapapa/org-super-agenda/commit/a5557ea4f51571ee9def3cd9a1ab1c38f1a27af7

But even with this applied, the tests still don't pass for me, I get
many errors like so:

--8<---------------cut here---------------start------------->8---
DIFF:
 @@ -7,8 +7,8 @@
   test:       Scheduled:  TODO [#C] Get haircut                                                                       :personal:@town:

  Other items
-  test:        7:02...... Sunrise (12:04 of daylight)
-               8:00...... ----------------
+  test:       7:02......  Sunrise (12:04 of daylight)
+              8:00......  ----------------
               10:00...... ----------------
               12:00...... now - - - - - - - - - - - - - - - - - - - - - - - - -
               12:00...... ----------------
")
   FAILED   1/73  org-super-agenda-test--:and (0.340120 sec)
--8<---------------cut here---------------end--------------->8---

I was planning on reporting it upstream when I get some time this week,
I couldn't see any existing issue, I'm surprised nobody noticed though,
unless it could be a guix-specific issue?

It doesn't look like a big deal though, it's still perfectly
usable :-). Maybe we should disable the tests in the meantime?

Thanks,
Pierre

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 519 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#51014: emacs-org-super-agenda@1.2 has broken tests
  2021-10-04 19:18 ` Pierre Langlois
@ 2021-10-04 21:48   ` Katherine Cox-Buday
  2022-07-12  4:11     ` Maxim Cournoyer
  0 siblings, 1 reply; 4+ messages in thread
From: Katherine Cox-Buday @ 2021-10-04 21:48 UTC (permalink / raw)
  To: Pierre Langlois; +Cc: 51014

Pierre Langlois <pierre.langlois@gmx.com> writes:

> I was planning on reporting it upstream when I get some time this week,
> I couldn't see any existing issue, I'm surprised nobody noticed though,
> unless it could be a guix-specific issue?
>
> It doesn't look like a big deal though, it's still perfectly
> usable :-). Maybe we should disable the tests in the meantime?

Yes, that's how I was thinking of it:

The upstream bug is that this is necessary.

The Guix bug is that this made it into the repository without patching, or checks turned off.

I only ran into it because I was trying out a new package. I just deleted it from my profile rather than dig into this, but I thought I'd report it :)

-- 
Katherine




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#51014: emacs-org-super-agenda@1.2 has broken tests
  2021-10-04 21:48   ` Katherine Cox-Buday
@ 2022-07-12  4:11     ` Maxim Cournoyer
  0 siblings, 0 replies; 4+ messages in thread
From: Maxim Cournoyer @ 2022-07-12  4:11 UTC (permalink / raw)
  To: Katherine Cox-Buday; +Cc: Pierre Langlois, 51014-done

Hi,

Katherine Cox-Buday <cox.katherine.e@gmail.com> writes:

> Pierre Langlois <pierre.langlois@gmx.com> writes:
>
>> I was planning on reporting it upstream when I get some time this week,
>> I couldn't see any existing issue, I'm surprised nobody noticed though,
>> unless it could be a guix-specific issue?
>>
>> It doesn't look like a big deal though, it's still perfectly
>> usable :-). Maybe we should disable the tests in the meantime?
>
> Yes, that's how I was thinking of it:
>
> The upstream bug is that this is necessary.
>
> The Guix bug is that this made it into the repository without patching, or checks turned off.
>
> I only ran into it because I was trying out a new package. I just
> deleted it from my profile rather than dig into this, but I thought
> I'd report it :)

I'm closing this one as the test suite has been disabled in Guix for the
last 8 months or so with commit 3625cbc3fe8.

Thanks for the report!

Maxim




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-12  4:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-04 15:22 bug#51014: emacs-org-super-agenda@1.2 has broken tests Katherine Cox-Buday
2021-10-04 19:18 ` Pierre Langlois
2021-10-04 21:48   ` Katherine Cox-Buday
2022-07-12  4:11     ` Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).