• Philip Withnall's avatar
    tests: Fix scheduler tests on 32-bit architectures · 5be551ca
    Philip Withnall authored
    The scheduler tests pass a 64-bit vararg (capacity-limit) to
    mwt_period_new(), but without explicit size indications, the compiler
    will assume the constant is a normal integer. On 32-bit architectures
    this means a 32-bit vararg is put in, and a 64-bit vararg is read out.
    This gives erroneous results and was causing the scheduler tests to
    fail.
    Signed-off-by: Philip Withnall's avatarPhilip Withnall <withnall@endlessm.com>
    5be551ca
Name
Last commit
Last update
..
tests Loading commit data...
clock-system.c Loading commit data...
clock-system.h Loading commit data...
clock.c Loading commit data...
clock.h Loading commit data...
connection-monitor-nm.c Loading commit data...
connection-monitor-nm.h Loading commit data...
connection-monitor.c Loading commit data...
connection-monitor.h Loading commit data...
meson.build Loading commit data...
peer-manager-dbus.c Loading commit data...
peer-manager-dbus.h Loading commit data...
peer-manager.c Loading commit data...
peer-manager.h Loading commit data...
schedule-entry-interface.h Loading commit data...
schedule-entry.c Loading commit data...
schedule-entry.h Loading commit data...
schedule-service.c Loading commit data...
schedule-service.h Loading commit data...
scheduler-interface.h Loading commit data...
scheduler.c Loading commit data...
scheduler.h Loading commit data...
service.c Loading commit data...
service.h Loading commit data...