Move tests out of the package.
parent
8ab54c80bc
commit
5317394761
@ -1,17 +1,18 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
TESTS_DIR=$(dirname "$0")
|
||||
eval `dbus-launch --sh-syntax`
|
||||
|
||||
trap 'kill -TERM $DBUS_SESSION_BUS_PID' EXIT
|
||||
|
||||
PYTHON=${1:-python}
|
||||
|
||||
"$PYTHON" -m pydbus.tests.context
|
||||
"$PYTHON" -m pydbus.tests.identifier
|
||||
"$PYTHON" $TESTS_DIR/context.py
|
||||
"$PYTHON" $TESTS_DIR/identifier.py
|
||||
if [ "$2" != "dontpublish" ]
|
||||
then
|
||||
"$PYTHON" -m pydbus.tests.publish
|
||||
"$PYTHON" -m pydbus.tests.publish_properties
|
||||
"$PYTHON" -m pydbus.tests.publish_multiface
|
||||
"$PYTHON" $TESTS_DIR/publish.py
|
||||
"$PYTHON" $TESTS_DIR/publish_properties.py
|
||||
"$PYTHON" $TESTS_DIR/publish_multiface.py
|
||||
fi
|
||||
|
Loading…
Reference in New Issue