summaryrefslogtreecommitdiffhomepage
path: root/coverity/build
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-04-29 05:20:39 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-04-29 05:20:39 +0200
commit7d559d6d23982719b8003ebe6308b104def0d3fd (patch)
tree48a978d8e9426c70962179c2dd222ae29913eb5c /coverity/build
parent8f5ad2e339a8167ac8b6fd49b853f41624f9acda (diff)
coverity: simplify directory structure
Diffstat (limited to 'coverity/build')
-rw-r--r--coverity/build/.gitignore3
-rw-r--r--coverity/build/aruco/.gitkeep0
-rw-r--r--coverity/build/build.cmd4
-rw-r--r--coverity/build/build.sh45
-rw-r--r--coverity/build/libovr-025/.gitkeep0
-rw-r--r--coverity/build/libovr-042/.gitkeep0
-rw-r--r--coverity/build/libovr-080/.gitkeep0
-rw-r--r--coverity/build/libovr-140/.gitkeep0
-rw-r--r--coverity/build/opencv/.gitkeep0
-rw-r--r--coverity/build/opentrack/.gitkeep0
10 files changed, 0 insertions, 52 deletions
diff --git a/coverity/build/.gitignore b/coverity/build/.gitignore
deleted file mode 100644
index 52f763f0..00000000
--- a/coverity/build/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-/*/
-/*.tar.*
-/*.zip
diff --git a/coverity/build/aruco/.gitkeep b/coverity/build/aruco/.gitkeep
deleted file mode 100644
index e69de29b..00000000
--- a/coverity/build/aruco/.gitkeep
+++ /dev/null
diff --git a/coverity/build/build.cmd b/coverity/build/build.cmd
deleted file mode 100644
index 6da5a3b1..00000000
--- a/coverity/build/build.cmd
+++ /dev/null
@@ -1,4 +0,0 @@
-setlocal
-set PATH=%path%;d:\cygwin64\usr\i686-w64-mingw32\bin;d:\cygwin64\bin
-cov-build --dir cov-int ninja %*
-exit /b %ERRORLEVEL%
diff --git a/coverity/build/build.sh b/coverity/build/build.sh
deleted file mode 100644
index 02cd5cad..00000000
--- a/coverity/build/build.sh
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/sh
-
-function cleanup() {
- for i in cov-build ninja; do
- taskkill -f -t -im "$i.exe" 2>/dev/null 1>&2
- done
- rm -f "$myfile"
-}
-
-function signal() {
- set +e
- trap '' EXIT
- echo "error: $1" 1>&2
- cleanup
- exit 1
-}
-
-export PATH="/d/dev/cov-analysis-win64-8.7.0/bin:/c/msys64/bin:/c/msys64/mingw32/bin:/usr/bin:$PATH"
-
-for k in HUP INT QUIT ILL BUS FPE SEGV PIPE; do
- trap "signal 'got fatal signal SIG'$k" SIG"$k"
-done
-
-trap 'signal "fatal return $?"' EXIT
-
-set -e
-
-mydate="$(date --iso-8601=minutes)"
-mydir="$(dirname -- "$0")"
-myfile="$mydir/opentrack-"$mydate".7z"
-
-cd "$mydir"
-for k in opencv aruco libovr-025 libovr-042 libovr-080; do
- ninja -C "./$k"
-done
-
-cd "./opentrack"
-
-cmake .
-ninja32 clean
-cov-build --dir cov-int ninja
-rm -f "$myfile" || true
-7za -mx a "$myfile" cov-int
-trap '' EXIT
-exit 0
diff --git a/coverity/build/libovr-025/.gitkeep b/coverity/build/libovr-025/.gitkeep
deleted file mode 100644
index e69de29b..00000000
--- a/coverity/build/libovr-025/.gitkeep
+++ /dev/null
diff --git a/coverity/build/libovr-042/.gitkeep b/coverity/build/libovr-042/.gitkeep
deleted file mode 100644
index e69de29b..00000000
--- a/coverity/build/libovr-042/.gitkeep
+++ /dev/null
diff --git a/coverity/build/libovr-080/.gitkeep b/coverity/build/libovr-080/.gitkeep
deleted file mode 100644
index e69de29b..00000000
--- a/coverity/build/libovr-080/.gitkeep
+++ /dev/null
diff --git a/coverity/build/libovr-140/.gitkeep b/coverity/build/libovr-140/.gitkeep
deleted file mode 100644
index e69de29b..00000000
--- a/coverity/build/libovr-140/.gitkeep
+++ /dev/null
diff --git a/coverity/build/opencv/.gitkeep b/coverity/build/opencv/.gitkeep
deleted file mode 100644
index e69de29b..00000000
--- a/coverity/build/opencv/.gitkeep
+++ /dev/null
diff --git a/coverity/build/opentrack/.gitkeep b/coverity/build/opentrack/.gitkeep
deleted file mode 100644
index e69de29b..00000000
--- a/coverity/build/opentrack/.gitkeep
+++ /dev/null