From 9af12859d7285319be5725c7ebbf426b5d26401e Mon Sep 17 00:00:00 2001 From: Michael Whittaker Date: Sun, 7 Feb 2021 12:23:05 -0800 Subject: [PATCH] Added script to run tests and examples. --- run_tests.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 run_tests.sh diff --git a/run_tests.sh b/run_tests.sh new file mode 100755 index 0000000..29ca256 --- /dev/null +++ b/run_tests.sh @@ -0,0 +1,16 @@ +#! /usr/bin/env bash + +set -euo pipefail + +main() { + python -m unittest + python -m examples.case_study + python -m examples.paper + python -m examples.plot_load_distribution --output "/tmp" + python -m examples.plot_node_loads --output "/tmp/load_nodes.pdf" + python -m examples.plot_workload_distribution \ + --output "/tmp/workload_distribution.pdf" + python -m examples.tutorial +} + +main