serval-dna/tests/all
Andrew Bettison 68deae8393 Improve out-of-tree build support
Use the conventional autoconf @srcdir@ substitution instead of requiring
the SOURCE_PREFIX variable to be passed to the Makefile.

Also support running test scripts in an out-of-tree build directory.
2017-10-23 17:51:42 +10:30

51 lines
1.5 KiB
Bash
Executable File

#!/bin/bash
# Aggregation of all tests except high-load stress tests.
#
# Copyright 2012-2014 Serval Project Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
source "${0%/*}/../testframework.sh"
source "${0%/*}/../testdefs.sh"
includeTests logging
includeTests config
includeTests keyring
includeTests server
includeTests routing
includeTests mdp
includeTests msp
includeTests dnahelper
includeTests dnaprotocol
includeTests rhizomeops
includeTests rhizomeprotocol
includeTests meshms
includeTests meshmb
includeTests directory_service
includeTests vomp
includeTests keyringrestful
includeTests rhizomerestful
includeTests meshmsrestful
includeTests meshmbrestful
if type -p "$JAVAC" >/dev/null; then
includeTests jni
includeTests keyringjava
includeTests rhizomejava
includeTests meshmsjava
fi
runTests "$@"