summaryrefslogtreecommitdiffstats
path: root/ci/ci_run_all_tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/ci_run_all_tests.sh')
-rwxr-xr-xci/ci_run_all_tests.sh50
1 files changed, 0 insertions, 50 deletions
diff --git a/ci/ci_run_all_tests.sh b/ci/ci_run_all_tests.sh
deleted file mode 100755
index 836cf571..00000000
--- a/ci/ci_run_all_tests.sh
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/usr/bin/bash
-
-# Run all available system-tests.
-# Note: Needs a bash shell to run
-#
-# Expected environment variables to be set:
-# C8YPASS : Cumulocity password
-# C8YUSERNAME : Cumolocity username
-# C8YTENANT : Cumolocity tenant
-# C8YDEVICE : The device name
-# C8YDEVICEID : The device ID in Cumolocity
-# TIMEZONE : Your timezone (temporary)
-# TEBASEDIR : Base directory for the Thin-Edge repo
-# EXAMPLEDIR : The direcory of the sawtooth example
-# C8YURL : e.g. https://thin-edge-io.eu-latest.cumulocity.com
-
-# Adding sbin seems to be necessary for non Raspberry P OS systems as Debian or Ubuntu
-PATH=$PATH:/usr/sbin
-
-echo "Disconnect old bridge"
-
-# Disconnect - may fail if not there
-sudo tedge disconnect c8y
-
-# From now on exit if a command exits with a non-zero status.
-# Commands above are allowed to fail
-set -e
-
-
-cd $TEBASEDIR
-
-# Check if clients are installed
-dpkg -s mosquitto-clients
-
-./ci/configure_bridge.sh
-
-# Run all PySys tests
-
-python3 -m venv ~/env-pysys
-source ~/env-pysys/bin/activate
-pip3 install -r tests/requirements.txt
-cd tests/PySys/
-
-set +e
-pysys.py run --exclude analytics --record -v DEBUG
-set -e
-
-deactivate
-
-mv __pysys_junit_xml pysys_junit_xml_all