Skip to content
Snippets Groups Projects

CI: use distcheck exclusively for building/testing

Merged Johannes Kauffmann requested to merge JohannesKauffmann/vlc2:debian-distcheck into master

make_check_wrapper.sh + make dist does not replace make distcheck.

make distcheck is used as single source of truth. To still get stack traces, move make check outside of the script and retrieve the exit code of make distcheck.

This should catch issues like #27470 (closed) upfront.

Edited by Johannes Kauffmann

Merge request reports

Merge request pipeline #286973 passed

Merge request pipeline passed for 56c970a5

Merged by Steve LhommeSteve Lhomme 2 years ago (Nov 26, 2022 8:22am UTC)

Merge details

Pipeline #286988 passed

Pipeline passed for 56c970a5 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Steve Lhomme changed milestone to %4.0

    changed milestone to %4.0

  • added 2 commits

    • de4b02d0 - CI: enable distcheck on merge builds
    • 6492397e - CI: disable tests during distcheck

    Compare with previous version

  • Steve Lhomme resolved all threads

    resolved all threads

  • Alexandre Janniaux approved this merge request

    approved this merge request

  • I'd rather run the tests in make distcheck than with make check if possible though, given that it will run the tests against the dist-archive build and not the one from the tree. Also, I expected make distcheck to rebuild the tree, shouldn't it replace the whole thing instead ?

    Still, approving since checking the dist is better anyway.

  • Jean-Baptiste Kempf approved this merge request

    approved this merge request

  • Maybe the tests are run with -j4 because there was an issue with higher numbers ? In which case it's better to separate from the distcheck.

    • Resolved by Johannes Kauffmann

      That being said, the make -j$NCPU and make -j$NCPU distcheck calls seem redundant. It might be better to do make -j$NCPU distcheck directly, and then run the check on that build directory (in vlc-dev-4.0.0). But that problem already existed in nightly builds.

  • added 1 commit

    • 14ce9abd - CI: use distcheck exclusively for building/testing

    Compare with previous version

  • Johannes Kauffmann resolved all threads

    resolved all threads

  • Johannes Kauffmann changed title from CI: enable distcheck on merge builds to CI: use distcheck exclusively for building/testing

    changed title from CI: enable distcheck on merge builds to CI: use distcheck exclusively for building/testing

  • Johannes Kauffmann changed the description

    changed the description

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading