Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • xserver xserver
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 935
    • Issues 935
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 122
    • Merge requests 122
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • xorgxorg
  • xserverxserver
  • Merge requests
  • !814

test: #undef NDEBUG so assert is not compiled away

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Matt Turner requested to merge mattst88/xserver:NDEBUG into master Dec 08, 2021
  • Overview 0
  • Commits 1
  • Pipelines 2
  • Changes 24

Might fix issue #1262 (closed).

Without this patch, I can generate a test timeout in xserver / unit with this configuration:

meson -Dc_args="-O2 -march=native -pipe" --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig --buildtype plain --localstatedir /var --sysconfdir /etc/X11 --buildtype plain -Db_ndebug=true -Ddocs=false -Ddri1=true -Ddri2=true -Ddri3=true -Dglamor=true -Dglx=true -Dudev=true -Dudev_kms=true -Dlibunwind=false -Dxcsecurity=false -Dxephyr=false -Dxnest=false -Dxorg=true -Dxvfb=true -Ddefault_font_path=/usr/share/fonts -Ddrm=true -Ddtrace=false -Dipv6=true -Dhal=false -Dlinux_acpi=false -Dlinux_apm=false -Dsha1=libcrypto -Dxkb_output_dir=/var/lib/xkb -Dxwayland=false -Dsystemd_logind=true -Dsuid_wrapper=false build
ninja -C build test
Edited Dec 08, 2021 by Matt Turner
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: NDEBUG