Merge lp:~pwlars/lava-test/uninstall into lp:lava-test/0.0

Proposed by Paul Larson
Status: Merged
Merged at revision: 10
Proposed branch: lp:~pwlars/lava-test/uninstall
Merge into: lp:lava-test/0.0
Diff against target: 19 lines (+12/-0)
1 file modified
abrek/builtins.py (+12/-0)
To merge this branch: bzr merge lp:~pwlars/lava-test/uninstall
Reviewer Review Type Date Requested Status
Linaro Infrastructure Pending
Review via email: mp+28811@code.launchpad.net

Description of the change

This one's pretty small. The support for uninstalling was already there, I just needed to add the command for it.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'abrek/builtins.py'
--- abrek/builtins.py 2010-06-28 20:23:02 +0000
+++ abrek/builtins.py 2010-06-29 23:09:24 +0000
@@ -31,3 +31,15 @@
31 except Exception as strerror:31 except Exception as strerror:
32 print "Test execution error: %s" % strerror32 print "Test execution error: %s" % strerror
33 sys.exit(1)33 sys.exit(1)
34
35class cmd_uninstall(AbrekCmd):
36 def run(self, argv):
37 if len(argv) != 1:
38 print "please specify the name of the test to uninstall"
39 sys.exit(1)
40 test = testloader(argv[0])
41 try:
42 test.uninstall()
43 except Exception as strerror:
44 print "Test uninstall error: %s" % strerror
45 sys.exit(1)

Subscribers

People subscribed via source and target branches