emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Test failures
@ 2014-07-15  3:29 Nick Dokos
  2014-07-15  7:44 ` Achim Gratz
  2014-07-27 13:43 ` Bastien
  0 siblings, 2 replies; 3+ messages in thread
From: Nick Dokos @ 2014-07-15  3:29 UTC (permalink / raw)
  To: emacs-orgmode

I just updated to Org-mode version 8.3beta (release_8.3beta-40-g9cf3c4)
and got three test failures:

,----
| 3 unexpected results:
|    FAILED  test-org/open-at-point-in-comment
|    FAILED  test-org/open-at-point-in-property
|    FAILED  test-org/open-at-point/info
`----

Apparently these tests assume that the org info file can be found, but
the `make clea'n that is done at the beginning of make test wipes it
out. That's probably because I'm working out of the cloned git tree, but
if possible, I would like `make test' to work in that case.  My
workaround for now is to add `make info' in targets.mk:

--8<---------------cut here---------------start------------->8---
index d390fdb..6d8b61a 100644
--- a/mk/targets.mk
+++ b/mk/targets.mk
@@ -100,6 +100,7 @@ vanilla:
 
 check test::	compile
 check test test-dirty::
+	make info
 	-$(MKDIR) $(testdir)
 	TMPDIR=$(testdir) $(BTEST)
 ifeq ($(TEST_NO_AUTOCLEAN),) # define this variable to leave $(testdir) around for inspection
--8<---------------cut here---------------end--------------->8---

Thanks!
-- 
Nick

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

* Re: Test failures
  2014-07-15  3:29 Test failures Nick Dokos
@ 2014-07-15  7:44 ` Achim Gratz
  2014-07-27 13:43 ` Bastien
  1 sibling, 0 replies; 3+ messages in thread
From: Achim Gratz @ 2014-07-15  7:44 UTC (permalink / raw)
  To: emacs-orgmode

Nick Dokos <ndokos <at> gmail.com> writes:
> Apparently these tests assume that the org info file can be found, but
> the `make clea'n that is done at the beginning of make test wipes it
> out. That's probably because I'm working out of the cloned git tree, but
> if possible, I would like `make test' to work in that case.  My
> workaround for now is to add `make info' in targets.mk:

Actually it needs just about _any_ Org info file, it's not looking
specifically for the one from the Git tree, but depending on how your Emacs
installation looks like it may not find one.  I really don't think this is a
good test anyway, but pulling in the info target (as a dependency, not as an
actual make invocation) is too heavy-handed.  The test should actually
provide the info file (and set up info path) specifically for testing,
patches welcome.


Regards,
Achim.

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

* Re: Test failures
  2014-07-15  3:29 Test failures Nick Dokos
  2014-07-15  7:44 ` Achim Gratz
@ 2014-07-27 13:43 ` Bastien
  1 sibling, 0 replies; 3+ messages in thread
From: Bastien @ 2014-07-27 13:43 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode

Hi Nick,

Nick Dokos <ndokos@gmail.com> writes:

> Apparently these tests assume that the org info file can be found, but
> the `make clea'n that is done at the beginning of make test wipes it
> out. That's probably because I'm working out of the cloned git tree, but
> if possible, I would like `make test' to work in that case.  My
> workaround for now is to add `make info' in targets.mk:

I pushed another workaround, which is to test on Emacs info manual instead.

-- 
 Bastien

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

end of thread, other threads:[~2014-07-28 17:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-15  3:29 Test failures Nick Dokos
2014-07-15  7:44 ` Achim Gratz
2014-07-27 13:43 ` Bastien

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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).