fpco / inline-c

284 stars 50 forks source link

inline-c-0.7.0.1 test suite failure #81

Closed DanBurton closed 4 years ago

DanBurton commented 5 years ago

I am unable to reproduce this locally, but this was seen once so far on the Stackage build server:

inline-c: Process exited with ExitFailure 1: dist/build/tests/tests (pending:
1342, failures: 0)

Failures:

  test/Language/C/Types/ParseSpec.hs:43:3:
  1) Language.C.Types.Parse parses everything which is pretty-printable (Haskell)
       uncaught exception: ErrorCall
       Parse error (assertParse): "spec" (line 1, column 103):
       unexpected '.'
       expecting "typedef", "extern", "static", "auto", "register", "void", "char", "short", "int", "long", "float", "double", "signed", "unsigned", "struct", "enum", type name, "const", "restrict", "volatile", "inline", declarator, "*", array, prototype, or parenthesised abstract declarator or end of input
       CallStack (from HasCallStack):
         error, called at test/Language/C/Types/ParseSpec.hs:63:17 in main:Language.C.Types.ParseSpec
       (after 55 tests)

  To rerun use: --match "/Language.C.Types.Parse/parses everything which is pretty-printable (Haskell)/"
bitonic commented 4 years ago

This should be fixed by https://github.com/fpco/inline-c/commit/4a4bf5edd42687298366f0a8bdad86adb986e9af .