kpu / mtplz

Code for the paper Faster Phrase-Based Decoding by Refining Feature State
http://kheafield.com/professional/
Other
14 stars 12 forks source link

lexro_test failing on macOS PPC (all other pass) #6

Open barracuda156 opened 1 year ago

barracuda156 commented 1 year ago

@kpu I got one test failing on macOS PPC, lexro_test:

--->  Testing mtplz
Executing:  cd "/opt/local/var/macports/build/_opt_PPCRosettaPorts_textproc_mtplz/mtplz/work/build" && ctest test 
Test project /opt/local/var/macports/build/_opt_PPCRosettaPorts_textproc_mtplz/mtplz/work/build
      Start  1: bit_packing_test
 1/27 Test  #1: bit_packing_test .................   Passed    0.07 sec
      Start  2: integer_to_string_test
 2/27 Test  #2: integer_to_string_test ...........   Passed    0.52 sec
      Start  3: joint_sort_test
 3/27 Test  #3: joint_sort_test ..................   Passed    0.05 sec
      Start  4: multi_intersection_test
 4/27 Test  #4: multi_intersection_test ..........   Passed    0.05 sec
      Start  5: pcqueue_test
 5/27 Test  #5: pcqueue_test .....................   Passed    0.05 sec
      Start  6: probing_hash_table_test
 6/27 Test  #6: probing_hash_table_test ..........   Passed    0.05 sec
      Start  7: read_compressed_test
 7/27 Test  #7: read_compressed_test .............   Passed    0.97 sec
      Start  8: sized_iterator_test
 8/27 Test  #8: sized_iterator_test ..............   Passed    0.05 sec
      Start  9: sorted_uniform_test
 9/27 Test  #9: sorted_uniform_test ..............   Passed    0.18 sec
      Start 10: string_stream_test
10/27 Test #10: string_stream_test ...............   Passed    0.06 sec
      Start 11: tokenize_piece_test
11/27 Test #11: tokenize_piece_test ..............   Passed    0.05 sec
      Start 12: file_piece_test
12/27 Test #12: file_piece_test ..................   Passed    0.11 sec
      Start 13: io_test
13/27 Test #13: io_test ..........................   Passed    0.53 sec
      Start 14: sort_test
14/27 Test #14: sort_test ........................   Passed    1.24 sec
      Start 15: stream_test
15/27 Test #15: stream_test ......................   Passed    0.85 sec
      Start 16: rewindable_stream_test
16/27 Test #16: rewindable_stream_test ...........   Passed    0.72 sec
      Start 17: left_test
17/27 Test #17: left_test ........................   Passed    0.14 sec
      Start 18: partial_test
18/27 Test #18: partial_test .....................   Passed    0.08 sec
      Start 19: model_test
19/27 Test #19: model_test .......................   Passed    0.42 sec
      Start 20: model_buffer_test
20/27 Test #20: model_buffer_test ................   Passed    0.07 sec
      Start 21: adjust_counts_test
21/27 Test #21: adjust_counts_test ...............   Passed    0.06 sec
      Start 22: corpus_count_test
22/27 Test #22: corpus_count_test ................   Passed    0.06 sec
      Start 23: access_test
23/27 Test #23: access_test ......................   Passed    0.05 sec
      Start 24: phrase_table_test
24/27 Test #24: phrase_table_test ................   Passed    0.06 sec
      Start 25: coverage_test
25/27 Test #25: coverage_test ....................   Passed    0.05 sec
      Start 26: chart_test
26/27 Test #26: chart_test .......................   Passed    0.05 sec
      Start 27: lexro_test
27/27 Test #27: lexro_test .......................***Failed    0.05 sec

96% tests passed, 1 tests failed out of 27

Total Test time (real) =   6.80 sec

The following tests FAILED:
     27 - lexro_test (Failed)
Errors while running CTest

Failed test output:

27/27 Testing: lexro_test
27/27 Test: lexro_test
Command: "/opt/local/var/macports/build/_opt_PPCRosettaPorts_textproc_mtplz/mtplz/work/build/tests/lexro_test"
Directory: /opt/local/var/macports/build/_opt_PPCRosettaPorts_textproc_mtplz/mtplz/work/build/decode
"lexro_test" start time: Jan 16 05:39 MYT
Output:
----------------------------------------------------------
Running 1 test case...
/opt/local/var/macports/build/_opt_PPCRosettaPorts_textproc_mtplz/mtplz/work/mtplz-5eb053b41856dfd4bbbf1b58f03372107aff1a95/decode/lexro_test.cc:62: error: in "LexRo": check 14 == store()[3] has failed [14 != 3.77789409e+22]
/opt/local/var/macports/build/_opt_PPCRosettaPorts_textproc_mtplz/mtplz/work/mtplz-5eb053b41856dfd4bbbf1b58f03372107aff1a95/decode/lexro_test.cc:66: error: in "LexRo": check 14 == store()[3] has failed [14 != 3.77789409e+22]

*** 2 failures are detected in the test module "LexRoTest"

<end of output>
Test time =   0.05 sec
----------------------------------------------------------
Test Failed.
"lexro_test" end time: Jan 16 05:39 MYT
"lexro_test" time elapsed: 00:00:00

Build log: mtplz_build_log.txt