Skip to content
Snippets Groups Projects
Commit 48a039ea authored by Guido Gunther's avatar Guido Gunther :zzz:
Browse files

ci: Add test run under valgrind

This will help us find leaks early
parent 03f0ae55
No related branches found
No related tags found
No related merge requests found
variables: variables:
DEPS: build-essential git libwlroots-examples wget gnome-session DEPS: build-essential git libwlroots-examples wget gnome-session
gdb weston gdb weston valgrind
before_script: before_script:
- export DEBIAN_FRONTEND=noninteractive - export DEBIAN_FRONTEND=noninteractive
...@@ -42,9 +42,13 @@ test:smoke:one-output: ...@@ -42,9 +42,13 @@ test:smoke:one-output:
dependencies: dependencies:
- build:native - build:native
script: script:
- export OUTDIR=output
- export G_DEBUG=fatal-criticals - export G_DEBUG=fatal-criticals
- export WLR_X11_OUTPUTS=1 - export WLR_X11_OUTPUTS=1
- tests/smoke - tests/smoke
artifacts:
paths:
- output/*.log
test:smoke:two-outputs: test:smoke:two-outputs:
<<: *tags <<: *tags
...@@ -52,7 +56,26 @@ test:smoke:two-outputs: ...@@ -52,7 +56,26 @@ test:smoke:two-outputs:
dependencies: dependencies:
- build:native - build:native
script: script:
- export OUTDIR=output
- export G_DEBUG=fatal-criticals - export G_DEBUG=fatal-criticals
- export WLR_X11_OUTPUTS=2 - export WLR_X11_OUTPUTS=2
- tests/smoke - tests/smoke
artifacts:
paths:
- output/*.log
test:smoke:valgrind:
<<: *tags
stage: test
dependencies:
- build:native
script:
- export OUTDIR=output
- export G_DEBUG=fatal-criticals
- export WLR_X11_OUTPUTS=1
- tests/smoke -V -T 30
artifacts:
paths:
- vgdump
- output/*.log
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment