summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSoren Hansen <soren.hansen@rackspace.com>2010-07-27 11:10:19 +0200
committerSoren Hansen <soren.hansen@rackspace.com>2010-07-27 11:10:19 +0200
commitc4ffa57d4076b4aa5ed6262cdc2fece731b6875d (patch)
tree83267302ef3792aa5f0273beff3e5257cda4bf7f /Makefile
parent9641dac5d0cbfd8d1f3026e1bae5749b9d8e00fc (diff)
parentfae70b1a769f52cc4730e04fcec8fe82cc8bd1c6 (diff)
Merge with trunk.
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