summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-11-01 17:38:59 +0100
committerlouiz’ <louiz@louiz.org>2016-11-01 17:40:09 +0100
commite1934a0b5fb1589bcdd85b86b315d652488d0577 (patch)
treecd87d6f17ac096711151af1600c37e19665fe92b
parente565efd348e6337c7ab46765777fc653ea02a1cf (diff)
downloadbiboumi-e1934a0b5fb1589bcdd85b86b315d652488d0577.tar.gz
biboumi-e1934a0b5fb1589bcdd85b86b315d652488d0577.tar.bz2
biboumi-e1934a0b5fb1589bcdd85b86b315d652488d0577.tar.xz
biboumi-e1934a0b5fb1589bcdd85b86b315d652488d0577.zip
Disable e2e tests on openbsd
-rw-r--r--.gitlab-ci.yml1
-rw-r--r--src/main.cpp3
2 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 789f4d9..cd32742 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -125,7 +125,6 @@ test:openbsd:
- cmake .. -DCMAKE_CXX_COMPILER=${COMPILER} -DCMAKE_BUILD_TYPE=${BUILD_TYPE} ${BOTAN} ${CARES} ${SYSTEMD} ${LIBIDN} ${LITESQL}
- make biboumi
- make check
- - mkdir tests_outputs && pushd tests_outputs && make e2e -C ..
tags:
- openbsd
diff --git a/src/main.cpp b/src/main.cpp
index 5585672..019dff0 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -12,6 +12,7 @@
#include <atomic>
#include <signal.h>
+#include <litesql.hpp>
// A flag set by the SIGINT signal handler.
static std::atomic<bool> stop(false);
@@ -84,7 +85,7 @@ int main(int ac, char** av)
try {
open_database();
- } catch (...) {
+ } catch (const litesql::DatabaseError&) {
return 1;
}