summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 000000000..fa11cf335
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,27 @@
+venv=.nova-venv
+with_venv=tools/with_venv.sh
+
+build:
+ # Nothing to do
+
+test: $(venv)
+ $(with_venv) python run_tests.py
+
+test-system:
+ python run_tests.py
+
+clean:
+ rm -rf _trial_temp
+ rm -rf keys
+ rm -rf instances
+ rm -rf networks
+ rm -f run_tests.err.log
+
+clean-all: clean
+ rm -rf $(venv)
+
+$(venv):
+ @echo "You need to install the Nova virtualenv before you can run this."
+ @echo ""
+ @echo "Please run tools/install_venv.py"
+ @exit 1