Browse Source

Move tests out of the package.

master
Linus Lewandowski 5 years ago
parent
commit
5317394761
  1. 0
      tests/__init__.py
  2. 0
      tests/context.py
  3. 0
      tests/gnome_music.py
  4. 0
      tests/identifier.py
  5. 0
      tests/publish.py
  6. 0
      tests/publish_multiface.py
  7. 0
      tests/publish_properties.py
  8. 11
      tests/run.sh

0
pydbus/tests/__init__.py → tests/__init__.py

0
pydbus/tests/context.py → tests/context.py

0
pydbus/tests/gnome_music.py → tests/gnome_music.py

0
pydbus/tests/identifier.py → tests/identifier.py

0
pydbus/tests/publish.py → tests/publish.py

0
pydbus/tests/publish_multiface.py → tests/publish_multiface.py

0
pydbus/tests/publish_properties.py → tests/publish_properties.py

11
tests/run.sh

@ -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…
Cancel
Save