]> Git Repo - qemu.git/commitdiff
.travis.yml: add clang ubsan job
authorAlex Bennée <[email protected]>
Tue, 28 May 2019 18:21:19 +0000 (19:21 +0100)
committerAlex Bennée <[email protected]>
Wed, 12 Jun 2019 16:53:22 +0000 (17:53 +0100)
We document this on our wiki and we might as well catch it in our CI
rather than waiting for it to be picked up on merge:

  https://wiki.qemu.org/Testing#clang_UBSan

Signed-off-by: Alex Bennée <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>
.travis.yml

index a6bb1f9f98e38424f36585c82939e08fd0583d5a..08502c0aa24e05f724abc5d60b61af6b37a72917 100644 (file)
@@ -152,6 +152,13 @@ matrix:
       compiler: clang
 
 
+    - env:
+        - CONFIG="--target-list=${MAIN_SOFTMMU_TARGETS} "
+      compiler: clang
+      before_script:
+        - ./configure ${CONFIG} --extra-cflags="-fsanitize=undefined -Werror" || { cat config.log && exit 1; }
+
+
     - env:
         - CONFIG="--disable-user --target-list-exclude=${MAIN_SOFTMMU_TARGETS}"
       compiler: clang
This page took 0.026595 seconds and 4 git commands to generate.