Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
eclipse
GitHub Repository: eclipse/sumo
Path: blob/main/tests/runDebugTests.sh
169656 views
1
#!/bin/bash
2
# Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo
3
# Copyright (C) 2008-2025 German Aerospace Center (DLR) and others.
4
# This program and the accompanying materials are made available under the
5
# terms of the Eclipse Public License 2.0 which is available at
6
# https://www.eclipse.org/legal/epl-2.0/
7
# This Source Code may also be made available under the following Secondary
8
# Licenses when the conditions for such availability set forth in the Eclipse
9
# Public License 2.0 are satisfied: GNU General Public License, version 2
10
# or later which is available at
11
# https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
12
# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
13
#
14
# Bash script for the test run of the debug version.
15
# Sets environment variables respecting SUMO_HOME and starts texttest.
16
17
export LC_ALL=C
18
export LANG=C
19
20
OLDDIR=$PWD
21
cd `dirname $0`
22
export TEXTTEST_HOME="$PWD"
23
if test x"$SUMO_HOME" = x; then
24
cd ..
25
export SUMO_HOME="$PWD"
26
fi
27
cd $OLDDIR
28
# for clang sanitizer tests
29
export LSAN_OPTIONS=suppressions=$SUMO_HOME/build_config/clang_memleak_suppressions.txt,print_suppressions=0
30
export UBSAN_OPTIONS=suppressions=$SUMO_HOME/build_config/clang_ubsan_suppressions.txt
31
32
export ACTIVITYGEN_BINARY="$SUMO_HOME/bin/activitygenD"
33
export DFROUTER_BINARY="$SUMO_HOME/bin/dfrouterD"
34
export DUAROUTER_BINARY="$SUMO_HOME/bin/duarouterD"
35
export JTRROUTER_BINARY="$SUMO_HOME/bin/jtrrouterD"
36
export NETCONVERT_BINARY="$SUMO_HOME/bin/netconvertD"
37
export NETEDIT_BINARY="$SUMO_HOME/bin/neteditD"
38
export NETGENERATE_BINARY="$SUMO_HOME/bin/netgenerateD"
39
export OD2TRIPS_BINARY="$SUMO_HOME/bin/od2tripsD"
40
export POLYCONVERT_BINARY="$SUMO_HOME/bin/polyconvertD"
41
export SUMO_BINARY="$SUMO_HOME/bin/sumoD"
42
export GUISIM_BINARY="$SUMO_HOME/bin/sumo-guiD"
43
export MAROUTER_BINARY="$SUMO_HOME/bin/marouterD"
44
export PYTHON="python"
45
46
texttest "$@" -v debug
47
48