Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-12288

Avoiding building all the backend tests when running a packaging build

    XMLWordPrintableJSON

Details

    • ghx-label-6

    Description

      When using the new packaging functionality in IMPALA-10262, the command "buildall.sh -package -release -notests" still builds all of the backend tests.

      Currently, the "-notests" flag doesn't change the list of targets generated by CMake. Instead, "-notests" changes the make target that is built by buildall.sh. So, the test targets still exist, but they aren't built.

      cpack seems to invoke a plain "make" with no target, and this builds everything including the tests.

      To avoid this, we would need a mode that tells CMake to avoid generating the test targets altogether. This could be very useful for a packaging build, because the backend tests take up significant time and disk space to build.

      Attachments

        Issue Links

          Activity

            People

              zhangyifan27 YifanZhang
              joemcdonnell Joe McDonnell
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h