trivial: Ensure critical warnings are fatal in CI

This commit is contained in:
Richard Hughes 2020-12-17 21:34:03 +00:00
parent 5c9b1fcc81
commit a18399e523

View File

@ -7,6 +7,8 @@ qt5concurrent = dependency('Qt5Concurrent')
glib2 = dependency('glib-2.0')
gio2 = dependency('gio-2.0')
fwupd = dependency('fwupd')
env = environment()
env.set('G_DEBUG', 'fatal-criticals')
e = executable(
'qt-thread-test',
sources : [
@ -20,4 +22,4 @@ e = executable(
fwupd,
],
)
test('qt-thread-test', e, timeout: 60)
test('qt-thread-test', e, timeout: 60, env: env)