Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4311

lib/erl eunit tests not running

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Bug
    • 0.10.0
    • None
    • Erlang - Library
    • Windows 10
      Erlang OTP 20
      rebar3

    Description

      Running the eunit tests gives the following results:

      {{{{D:\SoftDevelopment\Projects\erlang_thrift_idea\erlang_thrift>rebar3 eunit
      ===> Verifying dependencies...
      ===> Compiling thrift
      src/thrift_socket_server.erl:27: Warning: export_all flag enabled - all functions will be exported

      src/thrift_json_protocol.erl:59: Warning: this clause cannot match because a previous clause at line 57 always matches

      ===> Compiling _build/test/lib/thrift/test/thrift_test_test.erl failed
      _build/test/lib/thrift/test/thrift_test_test.erl:26: can't find include file "gen-erl/thrift_test_constants.hrl"
      _build/test/lib/thrift/test/thrift_test_test.erl:30: undefined macro 'THRIFT_TEST_MYNUMBERZ'

      _build/test/lib/thrift/test/thrift_test_test.erl:37: record 'thrift.test.Bonk' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:41: record 'thrift.test.Bools' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:45: record 'thrift.test.Xtruct' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:49: record 'thrift.test.Xtruct2' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:53: record 'thrift.test.Xtruct3' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:57: record 'thrift.test.Insanity' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:61: record 'thrift.test.CrazyNesting' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:70: record 'thrift.test.Xception' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:74: record 'thrift.test.Xception2' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:76: record 'thrift.test.EmptyStruct' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:77: record 'thrift.test.OneField' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:80: record 'thrift.test.VersioningTestV1' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:84: record 'thrift.test.VersioningTestV2' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:101: record 'thrift.test.ListTypeVersioningV1' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:105: record 'thrift.test.ListTypeVersioningV2' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:109: record 'thrift.test.GuessProtocolStruct' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:113: record 'thrift.test.LargeDeltas' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:128: record 'thrift.test.NestedListsI32x2' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:132: record 'thrift.test.NestedListsI32x3' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:136: record 'thrift.test.NestedMixedx2' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:142: record 'thrift.test.ListBonks' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:145: record 'thrift.test.NestedListsBonk' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:149: record 'thrift.test.BoolTest' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:151: record 'thrift.test.StructA' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:154: record 'thrift.test.StructB' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:190: record 'thrift.test.Xtruct' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:233: record 'thrift.test.Xtruct' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:243: record 'thrift.test.EmptyStruct' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:263: record 'thrift.test.Bonk' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:294: record 'thrift.test.Bools' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:295: record 'thrift.test.Bools' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:296: record 'thrift.test.Bools' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:298: record 'thrift.test.Bools' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:300: record 'thrift.test.VersioningTestV2' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:302: record 'thrift.test.VersioningTestV2' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:352: record 'thrift.test.StructA' undefined
      _build/test/lib/thrift/test/thrift_test_test.erl:353: record 'thrift.test.StructA' undefined

      _build/test/lib/thrift/test/thrift_test_test.erl:22: Warning: export_all flag enabled - all functions will be exported}}

      }}

      Attachments

        Activity

          People

            Unassigned Unassigned
            wwe Walter Weinmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: