Added script to run tests and examples.

This commit is contained in:
Michael Whittaker 2021-02-07 12:23:05 -08:00
parent 3cfb26e281
commit 9af12859d7

16
run_tests.sh Executable file
View file

@ -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