-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmk
More file actions
executable file
·38 lines (36 loc) · 1.13 KB
/
mk
File metadata and controls
executable file
·38 lines (36 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/sh
#
# See the snapcmakemodules project for details about this script
# https://github.com/m2osw/snapcmakemodules
if test -x ../../cmake/scripts/mk
then
echo "warning: with this version, tests are specifically setup for the Debug version only."
SCRIPTS=`cd scripts; pwd`
VERSION_SCRIPT=`cd ../../BUILD/Debug/contrib/csspp/scripts; pwd`
export TEST_OPTIONS="--scripts ${SCRIPTS} --version-script ${VERSION_SCRIPT} --show-errors"
../../cmake/scripts/mk $*
else
echo "error: could not locate the cmake mk script"
exit 1
fi
#if test "$1" = "-t"
#then
# make -C ../../../BUILD/contrib/csspp/
# shift
# TEST="$1"
# if test -n "$TEST"
# then
# shift
# echo run with \"$TEST\"
# fi
# ../../../BUILD/contrib/csspp/tests/csspp_tests --scripts scripts --version-script ../../../BUILD/contrib/csspp/scripts "$TEST" $*
#elif test "$1" = "-c"
#then
# if test -z "$2"
# then
# echo "the -c option requires a second option with the name of the tag"
# exit 1
# fi
# make -C ../../../BUILD/contrib/csspp install
# ../../../BUILD/contrib/csspp/tests/csspp_tests --scripts ../../../BUILD/dist/lib/csspp/scripts --show-errors "[$2]" 2>&1 | less
#fi