summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-10-31 17:25:00 -0400
committerMichael DeHaan <mdehaan@redhat.com>2008-10-31 17:25:00 -0400
commitcd6cd2a60a11bfa659467e79b8032988380ae34b (patch)
tree0e3a2313e615a5193a26cdc0c18741e84beb4090 /Makefile
parent55febaf0d41ee4e9d80cd9997ebf0c1bfc6388e0 (diff)
downloadcobbler-cd6cd2a60a11bfa659467e79b8032988380ae34b.tar.gz
cobbler-cd6cd2a60a11bfa659467e79b8032988380ae34b.tar.xz
cobbler-cd6cd2a60a11bfa659467e79b8032988380ae34b.zip
Reworking the remote tests and adding a few more. Now we no longer save and restore config state in the tests, and work with what the user already had (tests won't delete objects they didn't create).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b6845760..d0ce2542 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
#MESSAGESPOT=po/messages.pot
-all: rpms
+all: clean rpms
clean:
-rm -f pod2htm*.tmp
@@ -20,19 +20,22 @@ test:
prefix=test
export prefix
make savestate
- make eraseconfig
+ make rpms
make install
-(make nosetests)
+
+untest:
+ prefix=test
make restorestate
nosetests:
#nosetests tests -w cobbler --with-coverage --cover-package=cobbler --cover-erase --quiet | tee test.log
nosetests cobbler/*.py -v | tee test.log
-build: clean manpage updatewui
+build: manpage updatewui
python setup.py build -f
-install: clean manpage updatewui
+install: manpage updatewui
python setup.py install -f
devinstall: