Skip to content
Snippets Groups Projects
  • Simon McVittie's avatar
    5a60c0bc
    Move assertion/test utilities to a separate header · 5a60c0bc
    Simon McVittie authored
    
    A lot of recent convenience APIs can easily be backported, but they'll
    clutter glnx-backports.h. In preparation, split these out.
    
    Another reason to separate these is that when we start adding backports
    of test utilities that need implementation code in the libglnx static
    library, we'll want their implementations to be in a separate
    translation unit, so that they don't get linked into production
    executables, only into tests.
    
    Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
    5a60c0bc
    History
    Move assertion/test utilities to a separate header
    Simon McVittie authored
    
    A lot of recent convenience APIs can easily be backported, but they'll
    clutter glnx-backports.h. In preparation, split these out.
    
    Another reason to separate these is that when we start adding backports
    of test utilities that need implementation code in the libglnx static
    library, we'll want their implementations to be in a separate
    translation unit, so that they don't get linked into production
    executables, only into tests.
    
    Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>