ci: enable stack dumping in tests

This commit is contained in:
Jeremy Apthorp 2018-10-08 16:17:11 -07:00
parent 363aafc25b
commit 26a46b6b4b

View file

@ -28,6 +28,9 @@ env-release-build: &env-release-build
env-headless-testing: &env-headless-testing env-headless-testing: &env-headless-testing
DISPLAY: ':99.0' DISPLAY: ':99.0'
env-stack-dumping: &env-stack-dumping
ELECTRON_ENABLE_STACK_DUMPING: '1'
env-browsertests: &env-browsertests env-browsertests: &env-browsertests
GN_EXTRA_ARGS: 'is_component_ffmpeg = false' GN_EXTRA_ARGS: 'is_component_ffmpeg = false'
BUILD_TARGET: electron:chromium_browsertests BUILD_TARGET: electron:chromium_browsertests
@ -944,6 +947,7 @@ jobs:
<<: *machine-linux-medium <<: *machine-linux-medium
environment: environment:
<<: *env-headless-testing <<: *env-headless-testing
<<: *env-stack-dumping
<<: *steps-tests <<: *steps-tests
linux-x64-release-tests: linux-x64-release-tests:
@ -965,6 +969,7 @@ jobs:
environment: environment:
<<: *env-ia32 <<: *env-ia32
<<: *env-headless-testing <<: *env-headless-testing
<<: *env-stack-dumping
<<: *steps-tests <<: *steps-tests
linux-ia32-release-tests: linux-ia32-release-tests:
@ -985,10 +990,14 @@ jobs:
osx-testing-tests: osx-testing-tests:
<<: *machine-mac <<: *machine-mac
environment:
<<: *env-stack-dumping
<<: *steps-tests <<: *steps-tests
mas-testing-tests: mas-testing-tests:
<<: *machine-mac <<: *machine-mac
environment:
<<: *env-stack-dumping
<<: *steps-tests <<: *steps-tests
# Layer 4: Summary. # Layer 4: Summary.