#!/bin/bash1# Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo2# Copyright (C) 2008-2025 German Aerospace Center (DLR) and others.3# This program and the accompanying materials are made available under the4# terms of the Eclipse Public License 2.0 which is available at5# https://www.eclipse.org/legal/epl-2.0/6# This Source Code may also be made available under the following Secondary7# Licenses when the conditions for such availability set forth in the Eclipse8# Public License 2.0 are satisfied: GNU General Public License, version 29# or later which is available at10# https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html11# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later1213# Bash script for the test run.14# sets environment variables respecting SUMO_HOME and starts texttest with python3 for the tool tests1516if test `uname` = "Darwin"; then #macOS specific exports17export LC_ALL=C18export LANG=C19fi2021pushd `dirname $0`22export TEXTTEST_HOME="$PWD"23if test x"$SUMO_HOME" = x; then24cd ..25export SUMO_HOME="$PWD"26fi27popd28export ACTIVITYGEN_BINARY="$SUMO_HOME/bin/activitygen"29export DFROUTER_BINARY="$SUMO_HOME/bin/dfrouter"30export DUAROUTER_BINARY="$SUMO_HOME/bin/duarouter"31export JTRROUTER_BINARY="$SUMO_HOME/bin/jtrrouter"32export NETCONVERT_BINARY="$SUMO_HOME/bin/netconvert"33export NETEDIT_BINARY="$SUMO_HOME/bin/netedit"34export NETGENERATE_BINARY="$SUMO_HOME/bin/netgenerate"35export OD2TRIPS_BINARY="$SUMO_HOME/bin/od2trips"36export POLYCONVERT_BINARY="$SUMO_HOME/bin/polyconvert"37export SUMO_BINARY="$SUMO_HOME/bin/sumo"38export GUISIM_BINARY="$SUMO_HOME/bin/sumo-gui"39export MAROUTER_BINARY="$SUMO_HOME/bin/marouter"40export PYTHON="python3"4142texttest -a tools "$@"434445