Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(459)

Side by Side Diff: client/samples/control.interactive_console

Issue 4823005: Merge remote branch 'cros/upstream' into tempbranch (Closed) Base URL: http://git.chromium.org/git/autotest.git@master
Patch Set: patch Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « client/samples/control.fs_options ('k') | client/samples/control.kbuild_and_tests » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 AUTHOR = "Steve Howard <showard@google.com>"
2 TIME = "SHORT"
3 NAME = "Sample - Autotest console"
4 TEST_TYPE = "client"
5 TEST_CLASS = "Kernel"
6 TEST_CATEGORY = "Functional"
7
8 DOC = """
9 Gives you an interactive interpreter within an autotest control file.
10
11 If you install IPython (http://ipython.scipy.org/, Ubuntu and Fedora's package
12 "ipython"), you'll get a snazzy IPython console with readline and completion
13 and all that. Otherwise you'll get a simple python console.
14
15 The point of this control file is to give you an interactive interpreter with
16 all autotest 'magic' loaded in, so you can inspect objects and have fun.
17 """
18
19 try:
20 import IPython
21 ipshell = IPython.Shell.IPShellEmbed(argv=[], banner='autotest console')
22 ipshell()
23 except ImportError:
24 import code
25 code.interact('autotest console', raw_input)
OLDNEW
« no previous file with comments | « client/samples/control.fs_options ('k') | client/samples/control.kbuild_and_tests » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698