Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aarch64-linux test failure #1425

Open
sternenseemann opened this issue Oct 28, 2021 · 1 comment
Open

aarch64-linux test failure #1425

sternenseemann opened this issue Oct 28, 2021 · 1 comment

Comments

@sternenseemann
Copy link

sternenseemann commented Oct 28, 2021

I only can reproduce this on aarch64 (only tested binfmt so far):

============================= test session starts ==============================
platform linux -- Python 3.9.6, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
rootdir: /build/afdko-3.7.1, configfile: setup.cfg
collected 1308 items                                                           

tests/buildcff2vf_test.py ...........                                    [  0%]
tests/buildmasterotfs_test.py ....................                       [  2%]
tests/checkoutlinesufo_test.py .................                         [  3%]
tests/comparefamily_test.py .....                                        [  4%]
tests/convertfonttocid_test.py ....                                      [  4%]
tests/detype1_test.py ....                                               [  4%]
tests/differ_test.py ...............................                     [  7%]
tests/fdkutils_test.py ............................ssss..........        [ 10%]
tests/fontpdf_test.py ..                                                 [ 10%]
tests/makeinstancesufo_test.py ......................................... [ 13%]
....                                                                     [ 13%]
tests/makeotf_test.py .................................................. [ 17%]
......................................................................   [ 23%]
tests/makeotfexe_test.py ............................................... [ 26%]
...................................x.......x..........x................. [ 32%]
...............................xx...........x..xx....................... [ 37%]
........................................................................ [ 43%]
........................................................................ [ 48%]
.......................F................................................ [ 54%]
.......                                                                  [ 54%]
tests/mergefonts_test.py ........                                        [ 55%]
tests/otc2otf_test.py ...................                                [ 56%]
tests/otf2otc_test.py ...............                                    [ 57%]
tests/otf2ttf_test.py ..................                                 [ 59%]
tests/proofpdf_test.py ............................................      [ 62%]
tests/rotatefont_test.py ..................                              [ 63%]
tests/runner_test.py ................                                    [ 65%]
tests/sfntdiff_test.py ................                                  [ 66%]
tests/sfntedit_test.py ...........                                       [ 67%]
tests/spot_test.py ..................................................... [ 71%]
..                                                                       [ 71%]
tests/ttfcomponentizer_test.py .......................                   [ 73%]
tests/ttfdecomponentizer_test.py ...............                         [ 74%]
tests/ttxn_test.py .............                                         [ 75%]
tests/tx_test.py ....................................................... [ 79%]
........................................................................ [ 85%]
........................................................................ [ 90%]
........................................................................ [ 96%]
...............................................                          [ 99%]
tests/type1_test.py ....                                                 [100%]

=================================== FAILURES ===================================
_ test_spec[/build/afdko-3.7.1/tests/makeotfexe_data/input/spec/9e-15.bad.fea] _

path = '/build/afdko-3.7.1/tests/makeotfexe_data/input/spec/9e-15.bad.fea'

    @pytest.mark.parametrize('path', glob.glob(get_input_path("spec/*.fea")))
    def test_spec(path):
        name = os.path.splitext(os.path.basename(path))[0]
        if ".cid" in name:
            input_filename = "spec/fontcid.ps"
        else:
            input_filename = "spec/font.pfa"
        feat_filename = f"spec/{name}.fea"
        ttx_filename = f"spec/{name}.ttx"
        cmap_filename = "spec/Identity-H"
        actual_path = get_temp_file_path()

        cmd = CMD + ['-o', 'f', f'_{get_input_path(input_filename)}',
                           'ff', f'_{get_input_path(feat_filename)}',
                           'o', f'_{actual_path}',
                           'ch', f'_{get_input_path(cmap_filename)}']

        if name.endswith(".bad"):
            with pytest.raises(subprocess.CalledProcessError):
>               runner(cmd)
E               Failed: DID NOT RAISE <class 'subprocess.CalledProcessError'>

tests/makeotfexe_test.py:670: Failed
----------------------------- Captured stderr call -----------------------------
makeotfexe processing font <Untitled1>
WARNING: FontMenuNameDB file was not specified or not found. [Untitled1]
WARNING: Negative internal leading: win.ascent + win.descent < unitsPerEm
=========================== short test summary info ============================
sternenseemann added a commit to sternenseemann/nixpkgs that referenced this issue Nov 22, 2021
sternenseemann added a commit to NixOS/nixpkgs that referenced this issue Nov 23, 2021
@zhaofengli
Copy link

I'm observing the same failure happening on riscv64-linux.

zhaofengli added a commit to zhaofengli/nixpkgs that referenced this issue Jan 9, 2022
zhaofengli added a commit to zhaofengli/nixpkgs that referenced this issue Jan 10, 2022
veprbl pushed a commit to NixOS/nixpkgs that referenced this issue Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants