summaryrefslogtreecommitdiffstats
path: root/CMakeAfbTemplates.cmake
blob: c52365bc4f95f1fa3e3934e9bec6eba25f1e3afd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
###########################################################################
# Copyright 2015 - 2018 IoT.bzh
#
# author: Romain Forlot <romain.forlot@iot.bzh>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
###########################################################################

include("${CMAKE_CURRENT_LIST_DIR}/CMakeAfbTemplates/cmake/common.cmake")
pan class="ch">#!/bin/sh export R=$(realpath $(dirname $0)/..) export PATH="$R/bin:$R/scripts:$PATH" $R/bin/afb-daemon-cov --help > /dev/null $R/bin/afb-daemon-cov --version > /dev/null $R/bin/afb-daemon-cov --fake-option > /dev/null valgrind \ --log-file=$R/valgrind.out \ --trace-children=no \ --track-fds=yes \ --leak-check=full \ --show-leak-kinds=all \ $R/bin/afb-daemon-cov \ --verbose \ --verbose \ --verbose \ --verbose \ --quiet \ --quiet \ --quiet \ --quiet \ --quiet \ --quiet \ --log error,warning,notice,info,debug,critical,alert-error,warning,notice,info,debug,critical,alert+error,warning,notice,info,debug,critical,alert \ --foreground \ --name binder-cov \ --roothttp $R/www \ --rootbase /opx \ --rootapi /api \ --alias /icons:$R/www \ --apitimeout 90 \ --cntxtimeout 3600 \ --cache-eol 200 \ --workdir . \ --uploaddir . \ --rootdir . \ --ldpaths $R/ldpath/strong \ --binding $R/bin/demat.so \ --weak-ldpaths $R/ldpath/weak \ --auto-api $R/apis/auto \ --token HELLO \ --random-token \ --session-max 1000 \ --tracereq all \ --traceapi all \ --traceses all \ --traceevt all \ --call demat/ping:true \ --ws-server unix:$R/apis/ws/hello \ --ws-server unix:$R/apis/ws/salut \ --exec $R/scripts/run-parts.sh @p @t exit 0