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
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.
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