Closed antlarr-suse closed 3 years ago
Still happening in 3.8.2:
[ 203s] =================================== FAILURES ===================================
[ 203s] ________________________ test_type1mm_inputs[zx-args1] _________________________
[ 203s]
[ 203s] fname = 'zx', args = ['U', '_500,500']
[ 203s]
[ 203s] @pytest.mark.parametrize('args', [[], ['U', '_500,500'], ['U', '_0,0', 'n']])
[ 203s] @pytest.mark.parametrize('fname', ['zx', 'zy'])
[ 203s] def test_type1mm_inputs(fname, args):
[ 203s] fname2 = f'.{"".join(args)}' if args else ''
[ 203s] actual_path = runner(CMD + ['-s', '-f', f'{fname}.pfb', '-o', '2'] + args)
[ 203s] expected_path = get_expected_path(f'{fname}.dump2{fname2}.txt')
[ 203s] > assert differ([expected_path, actual_path, '-s', '## Filename'])
[ 203s] E AssertionError: assert False
[ 203s] E + where False = differ(['/home/abuild/rpmbuild/BUILD/afdko-3.8.2/tests/tx_data/expected_output/zx.dump2.U_500,500.txt', '/home/abuild/rpmbuild/BUILD/afdko-3.8.2/tmp/tmpw1g3pi47', '-s', '## Filename'])
[ 203s]
[ 203s] tests/tx_test.py:391: AssertionError
[ 203s] ----------------------------- Captured stdout call -----------------------------
[ 203s] --- /home/abuild/rpmbuild/BUILD/afdko-3.8.2/tests/tx_data/expected_output/zx.dump2.U_500,500.txt
[ 203s] +++ /home/abuild/rpmbuild/BUILD/afdko-3.8.2/tmp/tmpw1g3pi47
[ 203s] @@ -6,3 +6,3 @@
[ 203s] Weight "SnapShotMM"
[ 203s] -FontBBox {-141,-262,956,857}
[ 203s] +FontBBox {-141,-262,955,857}
[ 203s] XUID {1,44278,20645,8847,25231,10813,500,500}
[ 203s] @@ -50,15 +50,15 @@
[ 203s] 669 width 26 95 vstem 372 441 vstem 574 643 vstem -12 36 hstem 352 401 hstem
[ 203s] - 666 714 hstem newhints 26 95 vstem 229 297 vstem 372 441 vstem 574 643 vstem
[ 203s] - -12 36 hstem 352 401 hstem 666 714 hstem 297 533 move 297 649 246 714 162 714
[ 203s] + 666 715 hstem newhints 26 95 vstem 229 297 vstem 372 441 vstem 574 643 vstem
[ 203s] + -12 36 hstem 352 401 hstem 666 715 hstem 297 533 move 297 649 246 714 162 714
[ 203s] curve 77 714 26 649 26 533 curve 26 419 78 352 162 352 curve 245 352 297 418
[ 203s] 297 532 curve newhints 26 95 vstem 372 441 vstem 574 643 vstem -12 36 hstem
[ 203s] - 352 401 hstem 666 714 hstem 548 711 move 477 711 line 119 -8 line 191 -8 line
[ 203s] + 352 401 hstem 666 715 hstem 548 711 move 477 711 line 119 -8 line 191 -8 line
[ 203s] newhints 26 95 vstem 229 297 vstem 372 441 vstem 574 643 vstem -12 36 hstem
[ 203s] - 352 401 hstem 666 714 hstem 162 401 move 118 401 95 454 95 533 curve 95 613
[ 203s] + 352 401 hstem 666 715 hstem 162 401 move 118 401 95 454 95 533 curve 95 613
[ 203s] 118 666 162 666 curve 206 666 229 613 229 533 curve 229 455 207 401 163 401
[ 203s] curve newhints 26 95 vstem 372 441 vstem 574 643 vstem -12 36 hstem 301 350
[ 203s] - hstem 352 401 hstem 666 714 hstem 643 169 move 643 284 592 350 508 350 curve
[ 203s] + hstem 352 401 hstem 666 715 hstem 643 169 move 643 284 592 350 508 350 curve
[ 203s] 423 350 372 284 372 169 curve 372 55 423 -12 508 -12 curve 591 -12 643 54 643
[ 203s] 168 curve newhints 26 95 vstem 372 441 vstem 574 643 vstem -12 36 hstem 301
[ 203s] - 350 hstem 352 401 hstem 666 714 hstem 508 36 move 463 36 441 90 441 169 curve
[ 203s] + 350 hstem 352 401 hstem 666 715 hstem 508 36 move 463 36 441 90 441 169 curve
[ 203s] 441 248 463 301 508 301 curve 552 301 574 248 574 169 curve 574 90 553 36 509
[ 203s] @@ -831,7 +831,7 @@
[ 203s] 981 width 26 95 vstem 372 441 vstem 684 753 vstem 886 955 vstem -12 36 hstem
[ 203s] - 301 350 hstem 666 714 hstem newhints 26 95 vstem 229 297 vstem 352 401 hstem
[ 203s] - 666 714 hstem 297 533 move 297 649 246 714 162 714 curve 77 714 26 649 26 533
[ 203s] + 301 350 hstem 666 715 hstem newhints 26 95 vstem 229 297 vstem 352 401 hstem
[ 203s] + 666 715 hstem 297 533 move 297 649 246 714 162 714 curve 77 714 26 649 26 533
[ 203s] curve 26 419 78 352 162 352 curve 245 352 297 418 297 532 curve newhints 26
[ 203s] - 95 vstem -12 36 hstem 666 714 hstem 548 711 move 477 711 line 119 -8 line 191
[ 203s] - -8 line newhints 26 95 vstem 229 297 vstem 352 401 hstem 666 714 hstem 162
[ 203s] + 95 vstem -12 36 hstem 666 715 hstem 548 711 move 477 711 line 119 -8 line 191
[ 203s] + -8 line newhints 26 95 vstem 229 297 vstem 352 401 hstem 666 715 hstem 162
[ 203s] 401 move 118 401 95 454 95 533 curve 95 613 118 666 162 666 curve 206 666 229
[ 203s] ________________________ test_type1mm_inputs[zy-args1] _________________________
[ 203s]
[ 203s] fname = 'zy', args = ['U', '_500,500']
[ 203s]
[ 203s] @pytest.mark.parametrize('args', [[], ['U', '_500,500'], ['U', '_0,0', 'n']])
[ 203s] @pytest.mark.parametrize('fname', ['zx', 'zy'])
[ 203s] def test_type1mm_inputs(fname, args):
[ 203s] fname2 = f'.{"".join(args)}' if args else ''
[ 203s] actual_path = runner(CMD + ['-s', '-f', f'{fname}.pfb', '-o', '2'] + args)
[ 203s] expected_path = get_expected_path(f'{fname}.dump2{fname2}.txt')
[ 203s] > assert differ([expected_path, actual_path, '-s', '## Filename'])
[ 203s] E AssertionError: assert False
[ 203s] E + where False = differ(['/home/abuild/rpmbuild/BUILD/afdko-3.8.2/tests/tx_data/expected_output/zy.dump2.U_500,500.txt', '/home/abuild/rpmbuild/BUILD/afdko-3.8.2/tmp/tmp9vs5mxl1', '-s', '## Filename'])
[ 203s]
[ 203s] tests/tx_test.py:391: AssertionError
[ 203s] ----------------------------- Captured stdout call -----------------------------
[ 203s] --- /home/abuild/rpmbuild/BUILD/afdko-3.8.2/tests/tx_data/expected_output/zy.dump2.U_500,500.txt
[ 203s] +++ /home/abuild/rpmbuild/BUILD/afdko-3.8.2/tmp/tmp9vs5mxl1
[ 203s] @@ -242,3 +242,3 @@
[ 203s] glyph[25] {nine,0x39,
[ 203s] - 723 width 45 214 vstem 505 671 vstem -14 38 hstem 250 305 hstem 653 705 hstem
[ 203s] + 723 width 45 214 vstem 504 671 vstem -14 38 hstem 250 305 hstem 653 705 hstem
[ 203s] 45 472 move 45 404 71 347 120 307 curve 164 272 228 250 312 250 curve 396 250
[ 203s] @@ -460,3 +460,3 @@
[ 203s] 429 -167 566 -202 657 -202 curve 718 -202 765 -186 801 -169 curve 428 670
[ 203s] - move 489 670 538 650 575 608 curve 615 562 637 485 637 355 curve 637 247 618
[ 203s] + move 489 670 538 650 575 608 curve 615 562 637 485 637 354 curve 637 247 618
[ 203s] 160 577 106 curve 543 64 491 39 428 39 curve 366 39 314 64 280 106 curve 240
[ 203s] @@ -914,3 +914,3 @@
[ 203s] glyph[99] {yen,0xA5,
[ 203s] - 723 width 25 285 vstem 287 453 vstem 562 700 vstem 0 48 hstem 146 195 hstem
[ 203s] + 723 width 25 285 vstem 287 452 vstem 562 700 vstem 0 48 hstem 146 195 hstem
[ 203s] 252 301 hstem 644 692 hstem 287 313 move 287 301 line 91 301 line 91 252 line
[ 203s] @@ -1254,9 +1254,9 @@
[ 203s] glyph[140] {Oslash,0xE9,
[ 203s] - 857 width 47 220 vstem 639 811 vstem -14 39 hstem 670 723 hstem 178 57 move
[ 203s] + 857 width 46 220 vstem 639 811 vstem -14 39 hstem 670 723 hstem 178 57 move
[ 203s] 241 12 322 -14 428 -14 curve 557 -14 654 19 718 85 curve 776 144 811 232 811
[ 203s] - 355 curve newhints 47 220 vstem 639 811 vstem -14 39 hstem 690 topedge 811
[ 203s] - 461 779 544 727 604 curve 807 690 line newhints 47 220 vstem 639 811 vstem 19
[ 203s] + 355 curve newhints 46 220 vstem 639 811 vstem -14 39 hstem 690 topedge 811
[ 203s] + 461 779 544 727 604 curve 807 690 line newhints 46 220 vstem 639 811 vstem 19
[ 203s] bottomedge 670 723 hstem 765 734 line 679 649 line 614 699 528 723 428 723
[ 203s] curve 322 723 231 697 163 642 curve 89 580 46 483 46 355 curve 46 254 70 171
[ 203s] - 131 102 curve 53 19 line newhints 47 220 vstem 639 811 vstem -14 39 hstem 670
[ 203s] + 131 102 curve 53 19 line newhints 46 220 vstem 639 811 vstem -14 39 hstem 670
[ 203s] 723 hstem 95 -25 line 254 218 move 219 280 212 397 238 495 curve 264 592 327
[ 203s] @@ -1555,3 +1555,3 @@
[ 203s] glyph[169] {logicalnot,-,
[ 203s] - 571 width 449 521 vstem 309 380 hstem 520 380 move 48 380 line 48 309 line
[ 203s] + 571 width 449 520 vstem 309 380 hstem 520 380 move 48 380 line 48 309 line
[ 203s] 449 309 line 449 130 line 520 130 line endchar}
[ 203s] =========================== short test summary info ============================
[ 203s] FAILED tests/tx_test.py::test_type1mm_inputs[zx-args1] - AssertionError: asse...
[ 203s] FAILED tests/tx_test.py::test_type1mm_inputs[zy-args1] - AssertionError: asse...
[ 203s] ======= 2 failed, 1299 passed, 4 skipped, 8 xfailed in 196.35s (0:03:16) =======
The openSUSE Build Service is building packages of afdko for different architectures and tests are run on each of them. I noticed that 8 tests fail on i586 while they work on x86_64.
This is the output of the test failures: