mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-20 05:37:57 +00:00
a691a39870
Uses the Route REST API internally. Create the 'allswift' test script that aggregates the Keyring and Route Swift API tests.
51 lines
1.4 KiB
Bash
Executable File
51 lines
1.4 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
# Aggregation of all tests except high-load stress tests.
|
|
#
|
|
# Copyright 2012-2014 Serval Project Inc.
|
|
# Copyright 2017-2018 Flinders University
|
|
#
|
|
# 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 allrestful
|
|
|
|
if type -p "$JAVAC" >/dev/null; then
|
|
includeTests alljava
|
|
fi
|
|
if type -p "$SWIFTC" >/dev/null; then
|
|
includeTests allswift
|
|
fi
|
|
|
|
runTests "$@"
|