URL:
  <https://savannah.gnu.org/bugs/?66479>

                 Summary: failing tests on macos on HEAD (2562cf237)
                   Group: GNU roff
               Submitter: sschober
               Submitted: Sat 23 Nov 2024 03:59:59 PM UTC
                Category: General
                Severity: 3 - Normal
              Item Group: Test
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sat 23 Nov 2024 03:59:59 PM UTC By: Sven Schober <sschober>
Hi all!

It's me again, your (hopefully) friendly macos build tester. :)

Today, and on the latest HEAD (2562cf237), I found 5 failing tests on macos.
I've attached the test-suite.log, but here is the gist:


rg '^FAIL:' test-suite.log.2562cf237
17:FAIL: contrib/hdtbl/examples/test-hdtbl.sh
26:FAIL: src/roff/groff/tests/dvi-device-smoke-test.sh
39:FAIL: tmac/tests/an_vertical-margins-are-correct.sh
116:FAIL: tmac/tests/doc-old_vertical-margins-are-correct.sh
193:FAIL: tmac/tests/doc_vertical-margins-are-correct.sh


It seems as though whitespace is a problem in my environment, where it isn't
elsewhere. 

I fixed the tests for me, by using `tr` to strip away spaces. I hope this
portable to other environments - I saw `tr` usage in other places/tests.

My patch for the failing tests is attached as well.

Cheers
Sven






    _______________________________________________________
File Attachments:


-------------------------------------------------------
Name: test-suite.log.2562cf237  Size: 6KiB
<https://file.savannah.gnu.org/file/test-suite.log.2562cf237?file_id=56641>
-------------------------------------------------------
Name: 0001-tests-strip-away-whitespace-around-various-results.patch  Size:
4KiB
<https://file.savannah.gnu.org/file/0001-tests-strip-away-whitespace-around-various-results.patch?file_id=56642>

    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-8aba0884570a86f642fde4fed23adef7a2c7cfde.tar.gz

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66479>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to