Skip to content
Permalink
Browse files

Run the tests with Address Sanitizer (ASan)

  • Loading branch information
ariya committed Jan 10, 2020
1 parent e6a6932 commit 904f8aff8a8e47211186f6ff49179dea87e19265
Showing with 14 additions and 0 deletions.
  1. +14 −0 azure-pipelines.yml
@@ -1,5 +1,19 @@
jobs:

- job: 'AddressSanitizer'
pool:
vmImage: 'ubuntu-18.04'
steps:
- script: git clone https://github.com/ariya/compression-corpus.git
displayName: 'Retrieve test compression corpus'
- script: sudo apt install -y make gcc
displayName: 'Install requirements'
- script: gcc --version
displayName: 'Verify tools version'
- script: CC=gcc CFLAGS="-g -fno-omit-frame-pointer -fsanitize=address" make roundtrip
workingDirectory: tests
displayName: 'Perform round-trip tests'

- job: 'CodeQuality'
pool:
vmImage: 'macOS 10.13'

0 comments on commit 904f8af

Please sign in to comment.
You can’t perform that action at this time.