From 22089889ec10865b0028f621153c0f32a052f788 Mon Sep 17 00:00:00 2001 From: Stefan Bienert <stefan.bienert@unibas.ch> Date: Mon, 6 Mar 2017 11:26:47 +0100 Subject: [PATCH] Making unit tests fail on purpose --- .gitlab-ci.yml | 4 +++- modules/io/tests/test_mmcif_info.cc | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e5f73da3b..140219777 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,6 +16,8 @@ test:centos6.6: - yum -y -q -e 0 install glibc-common - yum -y -q -e 0 install glibc-devel - yum -y -q -e 0 install libjpeg-turbo + - yum -y -q -e 0 install freetype + - yum -y -q -e 0 install libpng - mkdir -p /scicore/soft/modules - ln -s /export/soft/apps/centos6/generic /scicore/soft/apps - ln -s /export/soft/modules/centos6/generic/all /scicore/soft/modules @@ -32,7 +34,7 @@ test:centos6.6: - module load LibTIFF/4.0.3-goolf-1.4.10 - module load libpng/1.6.17-goolf-1.4.10 - module load zlib/1.2.8-goolf-1.4.10 - - module load HH-suite/2.0.16-goolf-1.4.10 + - module load HH-suite/2.0.16-goolf-1.4.10-Boost-1.53.0 - echo "... done running centos6.6 'before_script'." script: - echo "Testing on CentOS 6..." diff --git a/modules/io/tests/test_mmcif_info.cc b/modules/io/tests/test_mmcif_info.cc index 69f369a4d..78dec24eb 100644 --- a/modules/io/tests/test_mmcif_info.cc +++ b/modules/io/tests/test_mmcif_info.cc @@ -118,7 +118,7 @@ BOOST_AUTO_TEST_CASE(mmcif_info_biounit) BOOST_CHECK(bu.GetMethodDetails() == "PISA"); BOOST_CHECK(bu.GetChainList().back() == "A"); std::vector<std::pair<int, int> > tr = bu.GetChainIntervalList(); - BOOST_CHECK(tr[0].first == 0); + BOOST_CHECK(tr[0].first == 10); BOOST_CHECK(tr[0].second == 2); std::vector<String> chains; -- GitLab