[neomutt-devel] Test failure

Vladimir Zakharov zakharov.vv at gmail.com
Wed Aug 15 10:51:54 CEST 2018


Hello!

Running 'make test' in my environment results in one test failure. Is it
a known issue or my local environment problem?

Summary of build options (wrapped by me):

  Version:           20180716
  Host OS:           freebsd12.0
  Install prefix:    /usr/local
  Compiler:          ccache cc
  CFlags:            -pipe -march=native -g -fstack-protector
      -fno-strict-aliasing -isystem /usr/local/include -fsanitize=address
      -fno-omit-frame-pointer -std=c99 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1
      -D__EXTENSIONS__ -I/usr/local/include -DNCURSES_WIDECHAR
      -I/usr/lib/include
  LDFlags:           -fstack-protector -fsanitize=address -L/usr/local/lib -L/usr/lib/lib
  Libs:              -ltokyocabinet -llmdb -lz -lssl -lcrypto -ltinfow
      -lnotmuch -lsasl2 -lgpgme  -lintl -liconv
  Header cache libs: -llmdb -ltokyocabinet

  GPGME:             yes
  PGP:               yes
  SMIME:             yes
  Notmuch:           yes
  Header Cache(s):   lmdb tokyocabinet
  Lua:               no


> make test
test/neomutt-test
Test test_base64_encode...                      [   OK   ]
Test test_base64_decode...                      [   OK   ]
Test test_base64_lengths...                     [   OK   ]
Test test_rfc2047...                            [   OK   ]
Test test_md5...                                [   OK   ]
Test test_md5_ctx...                            [   OK   ]
Test test_md5_ctx_bytes...                      [   OK   ]
Test test_string_strfcpy...                     [   OK   ]
Test test_string_strnfcpy...                    [   OK   ]
Test test_addr_mbox_to_udomain...               [   OK   ]
SUCCESS: All unit tests have passed.
test/config-test
Test config_set...                              [   OK   ]
Test config_account...                          [   OK   ]
Test config_initial...                          [   OK   ]
Test config_synonym...                          [   OK   ]
Test config_address...                          [   OK   ]
Test config_bool...                             [   OK   ]
Test config_command...                          [   OK   ]
Test config_long...                             [   OK   ]
Test config_magic...                            [   OK   ]
Test config_mbtable...                          [   OK   ]
Test config_number...                           [   OK   ]
Test config_path...                             [   OK   ]
Test config_quad...                             [   OK   ]
Test config_regex...                            [ FAILED ]
  regex.c:241: Check CSR_RESULT(rc) != CSR_SUCCESS... failed

  regex.c:686: Check test_string_set(cs, &err)... failed
    ---- test_string_get -----------------------------
    Fig = '', ''
    Guava = 'guava.*', 'guava.*'
    Event: Hawthorn has been set to 'hawthorn'
    Hawthorn = 'hawthorn', 'hawthorn'
    ---- test_string_get -----------------------------
    ---- test_native_set -----------------------------
    Event: Ilama has been set to 'hello.*'
    Ilama = 'hello.*', set by 'hello.*'
    Event: Ilama has been set to '!world.*'
    '!world.*', not flag set to 1
    Event: Jackfruit has been set to ''
    Jackfruit = '', set by NULL
    Event: Kumquat has been set to '\1rld.*'
  regex.c:364: Check CSR_RESULT(rc) != CSR_SUCCESS... failed

  regex.c:688: Check test_native_set(cs, &err)... failed
    ---- test_native_get -----------------------------
    Event: Lemon has been set to 'lemon.*'
    Lemon = 'lemon.*', 'lemon.*'
    ---- test_native_get -----------------------------
    ---- test_reset ----------------------------------
    Initial: Mango = 'mango.*'
    Event: Mango has been set to 'hello.*'
    Set: Mango = 'hello.*'
    Event: Mango has been reset to 'mango.*'
    Reset: Mango = 'mango.*'
  regex.c:440: Check CSR_RESULT(rc) != CSR_SUCCESS... failed

  regex.c:690: Check test_reset(cs, &err)... failed
    ---- test_validator ------------------------------
    Event: Papaya has been set to 'hello.*'
    validator_succeed: Papaya, (ptr)
    Regex: Papaya = hello.*
    Event: Papaya has been set to 'world.*'
    validator_succeed: Papaya, (ptr)
    Native: Papaya = world.*
    Event: Quince has been set to 'hello.*'
    validator_warn: Quince, (ptr)
    Regex: Quince = hello.*
    Event: Quince has been set to 'world.*'
    validator_warn: Quince, (ptr)
    Native: Quince = world.*
    Expected error: validator_fail: Raspberry, (ptr)
    Regex: Raspberry = raspberry.*
    Expected error: validator_fail: Raspberry, (ptr)
    Native: Raspberry = raspberry.*
    ---- test_validator ------------------------------
    ---- test_inherit --------------------------------
    Event: Strawberry has been set to 'hello.*'
         Strawberry = hello.*
    fruit:Strawberry = hello.*
    Event: fruit:Strawberry has been set to 'world.*'
         Strawberry = hello.*
    fruit:Strawberry = world.*
    Event: fruit:Strawberry has been reset to 'hello.*'
         Strawberry = hello.*
    fruit:Strawberry = hello.*
    Event: Strawberry has been reset to ''
         Strawberry =
    fruit:Strawberry =
    ---- test_inherit --------------------------------
Test config_sort...                             [   OK   ]
Test config_string...                           [   OK   ]
FAILED: 1 of 16 unit tests have failed.
*** Error code 1

-- 
Regards,                 | "In theory there is no difference between theory
  Vladimir Zakharov      | and practice. In practice there is."- Yogi Berra


More information about the neomutt-devel mailing list