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

make -k check: compiler/cpp/test Module not been executed

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.12.0
    • Fix Version/s: None
    • Component/s: C++ - Compiler
    • Labels:
      None
    • Environment:

      root@oss-001:/data1/thrift-0.12.0# cat /proc/version
      Linux version 4.15.0-45-generic (buildd@lgw01-amd64-031) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019

      Description

      when running thrift tests with 'make -f check',
      executed tests with 'make check-TESTS' in the directory 'compiler/cpp/test' from the output information.
      The result is 'All 0 tests passed', 0 tests has been passed,it seems to  all tests  failed.  
      but I found some '.thrift' sample files and executable scripts in the test directory 'compiler/cpp/test',there is not running the part of tests.
      I am confused that,so I think it is necessary to test the generated thrift compiler,then output the correct test results.

      output 'make -k check' about 'compiler/cpp/test'

      root@oss-001:/data1/thrift-0.12.0# make -k check
      Making check in compiler/cpp
      make[1]: Entering directory '/data1/thrift-0.12.0/compiler/cpp'
      Making check in src
      make[2]: Entering directory '/data1/thrift-0.12.0/compiler/cpp/src'
      make check-am
      make[3]: Entering directory '/data1/thrift-0.12.0/compiler/cpp/src'
      make[3]: Nothing to be done for 'check-am'.
      make[3]: Leaving directory '/data1/thrift-0.12.0/compiler/cpp/src'
      make[2]: Leaving directory '/data1/thrift-0.12.0/compiler/cpp/src'
      Making check in src/thrift/plugin
      make[2]: Entering directory '/data1/thrift-0.12.0/compiler/cpp/src/thrift/plugin'
      make check-am
      make[3]: Entering directory '/data1/thrift-0.12.0/compiler/cpp/src/thrift/plugin'
      make[3]: Nothing to be done for 'check-am'.
      make[3]: Leaving directory '/data1/thrift-0.12.0/compiler/cpp/src/thrift/plugin'
      make[2]: Leaving directory '/data1/thrift-0.12.0/compiler/cpp/src/thrift/plugin'
      Making check in .
      make[2]: Entering directory '/data1/thrift-0.12.0/compiler/cpp'
      make[2]: Nothing to be done for 'check-am'.
      make[2]: Leaving directory '/data1/thrift-0.12.0/compiler/cpp'
      Making check in test
      make[2]: Entering directory '/data1/thrift-0.12.0/compiler/cpp/test'
      make
      make[3]: Entering directory '/data1/thrift-0.12.0/compiler/cpp/test'
      make[3]: Nothing to be done for 'all'.
      make[3]: Leaving directory '/data1/thrift-0.12.0/compiler/cpp/test'
      make check-TESTS
      make[3]: Entering directory '/data1/thrift-0.12.0/compiler/cpp/test'
      ==================
      All 0 tests passed
      ==================

        Structure of the Directory ‘compiler/cpp/test’

      root@oss-001:/data1/thrift-0.12.0/compiler/cpp/test# ll
      total 116
      drwxrwxr-x 5 hhp hhp 4096 Aug 7 15:12 ./
      drwxr-xr-x 5 root root 4096 Aug 7 15:16 ../
      -rwxrwxr-x 1 hhp hhp 27 Jan 5 2019 bincat.sh*
      rw-rw-r- 1 hhp hhp 3360 Jan 5 2019 CMakeLists.txt
      drwxrwxr-x 2 hhp hhp 4096 Jan 5 2019 compiler/
      rw-rw-r- 1 hhp hhp 1720 Jan 5 2019 cpp_plugin_test.cmake
      -rwxrwxr-x 1 hhp hhp 1068 Jan 5 2019 cpp_plugin_test.sh*
      drwxrwxr-x 2 hhp hhp 4096 Jan 5 2019 keyword-samples/
      rw-rr- 1 root root 33011 Aug 7 15:12 Makefile
      rw-rw-r- 1 hhp hhp 1980 Jan 5 2019 Makefile.am
      rw-rr- 1 root root 35430 Aug 7 15:11 Makefile.in
      drwxrwxr-x 3 hhp hhp 4096 Aug 7 15:12 plugin/
      -rwxrwxr-x 1 hhp hhp 1365 Jan 5 2019 plugin_stability_test.sh*

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              zhou1 zhouzhongyuan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: