[O] test fails: resolve-external-link
When compiling Org with make up2 a failed test prevents successful completion: FAILED 555/746 test-org-publish/resolve-external-link I am running GNU Emacs 25.3.1 (x86_64-apple-darwin16.7.0, Carbon Version 157 AppKit 1504.83) of 2017-09-12 with Org mode version 9.1.1 (release_9.1.1-54-gff6b38. I am working in MacOS 10.12.6, with bash 4.4.12. Output from the failed test is: Publishing file /Users/Shared/git/org-mode/testing/examples/pub/b.org using ‘(closure ((backend . [cl-struct-org-export-backend nil nil ((headline lambda (h c i) (concat (org-export-get-reference h i) c)) (paragraph lambda (p c i) c) (section lambda (s c i) c) (link lambda (l c i) (let ((option (org-element-property :search-option l)) (path (org-element-property :path l))) (and option (org-publish-resolve-external-link option path) nil nil nil nil]) (ids) t) (plist filename pub-dir) (org-publish-org-to backend filename .test plist pub-dir))’ Publishing file /Users/Shared/git/org-mode/testing/examples/pub/a.org using ‘(closure ((backend . [cl-struct-org-export-backend nil nil ((headline lambda (h c i) (concat (org-export-get-reference h i) c)) (paragraph lambda (p c i) c) (section lambda (s c i) c) (link lambda (l c i) (let ((option (org-element-property :search-option l)) (path (org-element-property :path l))) (and option (org-publish-resolve-external-link option path) nil nil nil nil]) (ids) t) (plist filename pub-dir) (org-publish-org-to backend filename .test plist pub-dir))’ Publishing file /Users/Shared/git/org-mode/testing/examples/pub/b.org using ‘(closure ((backend . [cl-struct-org-export-backend nil nil ((headline lambda (h c i) c) (paragraph lambda (p c i) c) (section lambda (s c i) c) (link lambda (l c i) (let ((option (org-element-property :search-option l)) (path (org-element-property :path l))) (when option (throw :exit (org-publish-resolve-external-link option path t)) nil nil nil nil]) (ids) t) (plist filename pub-dir) (setq ids (cons (catch :exit (org-publish-org-to backend filename .test plist pub-dir)) ids)))’ Publishing file /Users/Shared/git/org-mode/testing/examples/pub/a.org using ‘(closure ((backend . [cl-struct-org-export-backend nil nil ((headline lambda (h c i) c) (paragraph lambda (p c i) c) (section lambda (s c i) c) (link lambda (l c i) (let ((option (org-element-property :search-option l)) (path (org-element-property :path l))) (when option (throw :exit (org-publish-resolve-external-link option path t)) nil nil nil nil]) (ids a1) t) (plist filename pub-dir) (setq ids (cons (catch :exit (org-publish-org-to backend filename .test plist pub-dir)) ids)))’ Test test-org-publish/resolve-external-link backtrace: (if (unwind-protect (setq value-14360 (apply fn-14358 args-14359)) ( (let (form-description-14362) (if (unwind-protect (setq value-14360 (let ((value-14360 (quote ert-form-evaluation-aborted-14361))) (let (let ((fn-14358 (function equal)) (args-14359 (list "a1" (let* ((ids (closure (t) nil (let ((fn-14353 (function apply)) (args-14354 (list ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc ert-run-test([cl-struct-ert-test test-org-publish/resolve-external-l ert-run-or-rerun-test([cl-struct-ert--stats "\\(org\\|ob\\)" [[cl-st ert-run-tests("\\(org\\|ob\\)" #[385 "\306\307\"\203G\211\211G\310 ert-run-tests-batch("\\(org\\|ob\\)") ert-run-tests-batch-and-exit("\\(org\\|ob\\)") (let ((org-id-track-globally t) (org-test-selector (if org-test-sele org-test-run-batch-tests("\\(org\\|ob\\)") eval((org-test-run-batch-tests org-test-select-re)) command-line-1(("--eval" "(setq vc-handled-backends nil org-startup- command-line() normal-top-level() Test test-org-publish/resolve-external-link condition: (ert-test-failed ((should (equal "a1" (let* ... ... ...))) :form (equal "a1" "orgbb5a65b") :value nil :explanation (arrays-of-different-length 2 10 "a1" "orgbb5a65b" first-mismatch-at 0))) FAILED 555/746 test-org-publish/resolve-external-link
Re: [O] Test fails ons OSX
Now i can build again! On Nov 3, 2012, at 11:12 AM, Neuwirth Erich erich.neuwi...@univie.ac.at wrote: Sorry, this is when running make up2 (not make update2) On Nov 3, 2012, at 10:38 AM, Neuwirth Erich erich.neuwi...@univie.ac.at wrote: OSX 10.8.2 Emacs 24.2.1 SInce a few days now I get errors when I run make update2 Ran 330 tests, 329 results as expected, 1 unexpected (2012-11-03 10:35:01+0100) 4 expected failures 1 unexpected results: FAILED test-org/end-of-line make[1]: *** [test-dirty] Error 1 make: *** [up2] Error 2 And during the tests I see: Test test-org/end-of-line backtrace: signal(ert-test-failed (((should-not (org-test-with-temp-text #+BEG ert-fail(((should-not (org-test-with-temp-text #+BEGIN_CENTER\nCont (if (not (unwind-protect (setq value-4865 (let ((temp-buffer (genera (unless (not (unwind-protect (setq value-4865 (let ((temp-buffer (ge (let (form-description-4866) (unless (not (unwind-protect (setq valu (let ((value-4865 (ert--gensym ert-form-evaluation-aborted-))) (le (should-not (org-test-with-temp-text #+BEGIN_CENTER\nContents\n#+EN (lambda nil (should (org-test-with-temp-text Some text\nSome other byte-code(\306\307!q\210\310\216\311 \312\216\313\314\315\316\3 ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc byte-code(\306\307!\211r\310\311!q\210\312 d\313\223)L\210\314\216 ert-run-test([cl-struct-ert-test test-org/end-of-line Test `org-end ert-run-or-rerun-test([cl-struct-ert--stats \\(org\\|ob\\) [[cl-st ert-run-tests(\\(org\\|ob\\) #[(event-type rest event-args) \30 ert-run-tests-batch(\\(org\\|ob\\)) ert-run-tests-batch-and-exit(\\(org\\|ob\\)) (let ((org-id-track-globally t) (org-id-locations-file (convert-stan org-test-run-batch-tests() call-interactively(org-test-run-batch-tests nil nil) command-execute(org-test-run-batch-tests) command-line-1((--eval (add-to-list 'load-path \./lisp\) --ev command-line() normal-top-level() Test test-org/end-of-line condition: (ert-test-failed ((should-not (org-test-with-temp-text #+BEGIN_CENTER\nContents\n#+END_CENTER (progn ... ... ...))) :form (let ((temp-buffer ...)) (with-current-buffer temp-buffer (unwind-protect ... ...))) :value t)) FAILED 313/330 test-org/end-of-line
[O] Test fails ons OSX
OSX 10.8.2 Emacs 24.2.1 SInce a few days now I get errors when I run make update2 Ran 330 tests, 329 results as expected, 1 unexpected (2012-11-03 10:35:01+0100) 4 expected failures 1 unexpected results: FAILED test-org/end-of-line make[1]: *** [test-dirty] Error 1 make: *** [up2] Error 2 And during the tests I see: Test test-org/end-of-line backtrace: signal(ert-test-failed (((should-not (org-test-with-temp-text #+BEG ert-fail(((should-not (org-test-with-temp-text #+BEGIN_CENTER\nCont (if (not (unwind-protect (setq value-4865 (let ((temp-buffer (genera (unless (not (unwind-protect (setq value-4865 (let ((temp-buffer (ge (let (form-description-4866) (unless (not (unwind-protect (setq valu (let ((value-4865 (ert--gensym ert-form-evaluation-aborted-))) (le (should-not (org-test-with-temp-text #+BEGIN_CENTER\nContents\n#+EN (lambda nil (should (org-test-with-temp-text Some text\nSome other byte-code(\306\307!q\210\310\216\311 \312\216\313\314\315\316\3 ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc byte-code(\306\307!\211r\310\311!q\210\312 d\313\223)L\210\314\216 ert-run-test([cl-struct-ert-test test-org/end-of-line Test `org-end ert-run-or-rerun-test([cl-struct-ert--stats \\(org\\|ob\\) [[cl-st ert-run-tests(\\(org\\|ob\\) #[(event-type rest event-args) \30 ert-run-tests-batch(\\(org\\|ob\\)) ert-run-tests-batch-and-exit(\\(org\\|ob\\)) (let ((org-id-track-globally t) (org-id-locations-file (convert-stan org-test-run-batch-tests() call-interactively(org-test-run-batch-tests nil nil) command-execute(org-test-run-batch-tests) command-line-1((--eval (add-to-list 'load-path \./lisp\) --ev command-line() normal-top-level() Test test-org/end-of-line condition: (ert-test-failed ((should-not (org-test-with-temp-text #+BEGIN_CENTER\nContents\n#+END_CENTER (progn ... ... ...))) :form (let ((temp-buffer ...)) (with-current-buffer temp-buffer (unwind-protect ... ...))) :value t)) FAILED 313/330 test-org/end-of-line
Re: [O] Test fails ons OSX
Sorry, this is when running make up2 (not make update2) On Nov 3, 2012, at 10:38 AM, Neuwirth Erich erich.neuwi...@univie.ac.at wrote: OSX 10.8.2 Emacs 24.2.1 SInce a few days now I get errors when I run make update2 Ran 330 tests, 329 results as expected, 1 unexpected (2012-11-03 10:35:01+0100) 4 expected failures 1 unexpected results: FAILED test-org/end-of-line make[1]: *** [test-dirty] Error 1 make: *** [up2] Error 2 And during the tests I see: Test test-org/end-of-line backtrace: signal(ert-test-failed (((should-not (org-test-with-temp-text #+BEG ert-fail(((should-not (org-test-with-temp-text #+BEGIN_CENTER\nCont (if (not (unwind-protect (setq value-4865 (let ((temp-buffer (genera (unless (not (unwind-protect (setq value-4865 (let ((temp-buffer (ge (let (form-description-4866) (unless (not (unwind-protect (setq valu (let ((value-4865 (ert--gensym ert-form-evaluation-aborted-))) (le (should-not (org-test-with-temp-text #+BEGIN_CENTER\nContents\n#+EN (lambda nil (should (org-test-with-temp-text Some text\nSome other byte-code(\306\307!q\210\310\216\311 \312\216\313\314\315\316\3 ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc byte-code(\306\307!\211r\310\311!q\210\312 d\313\223)L\210\314\216 ert-run-test([cl-struct-ert-test test-org/end-of-line Test `org-end ert-run-or-rerun-test([cl-struct-ert--stats \\(org\\|ob\\) [[cl-st ert-run-tests(\\(org\\|ob\\) #[(event-type rest event-args) \30 ert-run-tests-batch(\\(org\\|ob\\)) ert-run-tests-batch-and-exit(\\(org\\|ob\\)) (let ((org-id-track-globally t) (org-id-locations-file (convert-stan org-test-run-batch-tests() call-interactively(org-test-run-batch-tests nil nil) command-execute(org-test-run-batch-tests) command-line-1((--eval (add-to-list 'load-path \./lisp\) --ev command-line() normal-top-level() Test test-org/end-of-line condition: (ert-test-failed ((should-not (org-test-with-temp-text #+BEGIN_CENTER\nContents\n#+END_CENTER (progn ... ... ...))) :form (let ((temp-buffer ...)) (with-current-buffer temp-buffer (unwind-protect ... ...))) :value t)) FAILED 313/330 test-org/end-of-line
[O] test fails on OSX
Sorry for the missing subject in the last message, here it is again with a subject line. I just did make up2 And on OSX 10.8.2 and Emacs 24.2 I get: Ran 208 tests, 207 results as expected, 1 unexpected (2012-09-29 09:27:47+0200) 6 expected failures 1 unexpected results: FAILED test-ob/org-babel-remove-result--results-org make[1]: *** [test-dirty] Error 1 make: *** [up2] Error 2 Perhaps this is useful information
Re: [O] test fails
Bastien b...@altern.org writes: Hi Erich, Erich Neuwirth erich.neuwi...@univie.ac.at writes: I am building org mode on 2 Macs with OSX 10.8.1 and Emacs 24.2.1 One one machine, this works. On the other machine, the build fails. Maybe you can run `make config-test' to see if the testing si configured the same way on both machines: I'm having the same issue. Here is my config-test = Test configuration BTEST_PRE = BTEST_POST = BTEST_OB_LANGUAGES = awk C fortran maxima lilypond octave python sh BTEST_EXTRA = (Interestingly enough, the tests get stuck at the exact same point.) Alan
[O] test fails
I am building org mode on 2 Macs with OSX 10.8.1 and Emacs 24.2.1 One one machine, this works. On the other machine, the build fails. OVERVIEW executing Python code block... Code block evaluation complete. passed 103/206 test-ob-python/colnames-yes-header-argument-again Babel evaluation exited with code 1 passed 104/206 test-ob-sh/dont-error-on-empty-results passed 105/206 test-ob-sh/dont-insert-spaces-on-expanded-bodies at this point, the machine just hangs and I have to kill the process. Any ideas? Please also tell me what is the easiest way of finding the version identifier. I just pulled the latest version from git now, Aug 29 2012, 5:33 CEST (=UTC+2)
Re: [O] test fails
Hi Erich, Erich Neuwirth erich.neuwi...@univie.ac.at writes: I am building org mode on 2 Macs with OSX 10.8.1 and Emacs 24.2.1 One one machine, this works. On the other machine, the build fails. Maybe you can run `make config-test' to see if the testing si configured the same way on both machines: From `make helpall': Configuration Check === make config - check main configuration make config-test- check test configuration make config-exe - check executables configuration make config-cmd - check command configuration make config-all - check all configuration Please also tell me what is the easiest way of finding the version identifier. I just pulled the latest version from git now, M-x org-version RET should do. HTH, -- Bastien