diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-14 11:32:38 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-14 11:32:38 -0500 |
commit | 3f0108072f60c3cbf8ba6c59f6c8062ee50cf0de (patch) | |
tree | 75f6225b24d1b99018c2bc72dc1ce5a020951246 | |
parent | 4225dcafc4cbe8ee25899abb3181b419f58ee075 (diff) | |
download | horizon-3f0108072f60c3cbf8ba6c59f6c8062ee50cf0de.tar.gz horizon-3f0108072f60c3cbf8ba6c59f6c8062ee50cf0de.tar.bz2 horizon-3f0108072f60c3cbf8ba6c59f6c8062ee50cf0de.tar.xz horizon-3f0108072f60c3cbf8ba6c59f6c8062ee50cf0de.zip |
CI: Use CTest for Valgrind running
-rw-r--r-- | .gitlab-ci.yml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 69bf0b4..bdab08c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,7 @@ build: script: - mkdir build - cd build - - cmake .. -DCMAKE_BUILD_TYPE=Debug -DCOVERAGE=ON + - cmake .. -DCMAKE_BUILD_TYPE=Debug -DCOVERAGE=ON -DVALGRIND=ON - make -j4 artifacts: paths: @@ -32,9 +32,7 @@ test: valgrind: stage: test script: - - valgrind build/tools/hscript-validate/hscript-validate tests/fixtures/0001-basic.installfile - - valgrind build/tools/hscript-simulate/hscript-simulate tests/fixtures/0001-basic.installfile - - exit 0 + - CTEST_OUTPUT_ON_FAILURE=TRUE ctest -L Valgrind pages: stage: deploy |