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

Issue 1398903002: Add third_party/pexpect (Closed)

Created:
5 years, 2 months ago by scottmg
Modified:
5 years, 2 months ago
Reviewers:
Mark Mentovai
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@end-to-end-test
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

Add third_party/pexpect To be used to script end-to-end tests on Windows. Follows https://codereview.chromium.org/1396943002. R=mark@chromium.org BUG=crashpad:20, crashpad:46, crashpad:52

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16048 lines, -0 lines) Patch
A third_party/pexpect/.gitignore View 1 chunk +9 lines, -0 lines 0 comments Download
A third_party/pexpect/.travis.yml View 1 chunk +23 lines, -0 lines 0 comments Download
A third_party/pexpect/DEVELOPERS.rst View 1 chunk +12 lines, -0 lines 0 comments Download
A third_party/pexpect/LICENSE View 1 chunk +19 lines, -0 lines 0 comments Download
A third_party/pexpect/MANIFEST.in View 1 chunk +6 lines, -0 lines 0 comments Download
A third_party/pexpect/README.crashpad View 1 chunk +13 lines, -0 lines 0 comments Download
A third_party/pexpect/README.rst View 1 chunk +55 lines, -0 lines 0 comments Download
A third_party/pexpect/doc/FAQ.rst View 1 chunk +145 lines, -0 lines 0 comments Download
A third_party/pexpect/doc/Makefile View 1 chunk +153 lines, -0 lines 0 comments Download
A third_party/pexpect/doc/api/fdpexpect.rst View 1 chunk +20 lines, -0 lines 0 comments Download
A third_party/pexpect/doc/api/index.rst View 1 chunk +18 lines, -0 lines 0 comments Download
A third_party/pexpect/doc/api/pexpect.rst View 1 chunk +115 lines, -0 lines 0 comments Download
A third_party/pexpect/doc/api/popen_spawn.rst View 1 chunk +24 lines, -0 lines 0 comments Download
A third_party/pexpect/doc/api/pxssh.rst View 1 chunk +34 lines, -0 lines 0 comments Download
A third_party/pexpect/doc/api/replwrap.rst View 1 chunk +26 lines, -0 lines 0 comments Download
A third_party/pexpect/doc/clean.css View 1 chunk +103 lines, -0 lines 0 comments Download
A third_party/pexpect/doc/commonissues.rst View 1 chunk +101 lines, -0 lines 0 comments Download
A third_party/pexpect/doc/conf.py View 1 chunk +250 lines, -0 lines 0 comments Download
A third_party/pexpect/doc/examples.rst View 1 chunk +63 lines, -0 lines 0 comments Download
A third_party/pexpect/doc/history.rst View 1 chunk +233 lines, -0 lines 0 comments Download
A third_party/pexpect/doc/index.rst View 1 chunk +50 lines, -0 lines 0 comments Download
A third_party/pexpect/doc/install.rst View 1 chunk +20 lines, -0 lines 0 comments Download
A third_party/pexpect/doc/make.bat View 1 chunk +190 lines, -0 lines 0 comments Download
A third_party/pexpect/doc/overview.rst View 1 chunk +257 lines, -0 lines 0 comments Download
A third_party/pexpect/doc/requirements.txt View 1 chunk +1 line, -0 lines 0 comments Download
A third_party/pexpect/doc/sphinxext/github.py View 1 chunk +155 lines, -0 lines 0 comments Download
A third_party/pexpect/examples/README View 1 chunk +89 lines, -0 lines 0 comments Download
A third_party/pexpect/examples/astat.py View 1 chunk +99 lines, -0 lines 0 comments Download
A third_party/pexpect/examples/cgishell.cgi View 1 chunk +766 lines, -0 lines 0 comments Download
A third_party/pexpect/examples/chess.py View 1 chunk +148 lines, -0 lines 0 comments Download
A third_party/pexpect/examples/chess2.py View 1 chunk +153 lines, -0 lines 0 comments Download
A third_party/pexpect/examples/chess3.py View 1 chunk +157 lines, -0 lines 0 comments Download
A third_party/pexpect/examples/df.py View 1 chunk +57 lines, -0 lines 0 comments Download
A third_party/pexpect/examples/ftp.py View 1 chunk +73 lines, -0 lines 0 comments Download
A third_party/pexpect/examples/hive.py View 1 chunk +466 lines, -0 lines 0 comments Download
A third_party/pexpect/examples/monitor.py View 1 chunk +229 lines, -0 lines 0 comments Download
A third_party/pexpect/examples/passmass.py View 1 chunk +116 lines, -0 lines 0 comments Download
A third_party/pexpect/examples/python.py View 1 chunk +49 lines, -0 lines 0 comments Download
A third_party/pexpect/examples/script.py View 1 chunk +114 lines, -0 lines 0 comments Download
A third_party/pexpect/examples/ssh_tunnel.py View 1 chunk +105 lines, -0 lines 0 comments Download
A third_party/pexpect/examples/table_test.html View 1 chunk +106 lines, -0 lines 0 comments Download
A third_party/pexpect/examples/topip.py View 1 chunk +299 lines, -0 lines 0 comments Download
A third_party/pexpect/examples/uptime.py View 1 chunk +81 lines, -0 lines 0 comments Download
A third_party/pexpect/notes/my_forkpty.py View 1 chunk +89 lines, -0 lines 0 comments Download
A third_party/pexpect/notes/notes.txt View 1 chunk +50 lines, -0 lines 0 comments Download
A third_party/pexpect/notes/posixmodule.c.diff View 1 chunk +233 lines, -0 lines 0 comments Download
A third_party/pexpect/pexpect/ANSI.py View 1 chunk +351 lines, -0 lines 0 comments Download
A third_party/pexpect/pexpect/FSM.py View 1 chunk +334 lines, -0 lines 0 comments Download
A third_party/pexpect/pexpect/__init__.py View 1 chunk +85 lines, -0 lines 0 comments Download
A third_party/pexpect/pexpect/async.py View 1 chunk +72 lines, -0 lines 0 comments Download
A third_party/pexpect/pexpect/bashrc.sh View 1 chunk +5 lines, -0 lines 0 comments Download
A third_party/pexpect/pexpect/exceptions.py View 1 chunk +35 lines, -0 lines 0 comments Download
A third_party/pexpect/pexpect/expect.py View 1 chunk +297 lines, -0 lines 0 comments Download
A third_party/pexpect/pexpect/fdpexpect.py View 1 chunk +114 lines, -0 lines 0 comments Download
A third_party/pexpect/pexpect/popen_spawn.py View 1 chunk +179 lines, -0 lines 0 comments Download
A third_party/pexpect/pexpect/pty_spawn.py View 1 chunk +829 lines, -0 lines 0 comments Download
A third_party/pexpect/pexpect/pxssh.py View 1 chunk +406 lines, -0 lines 0 comments Download
A third_party/pexpect/pexpect/replwrap.py View 1 chunk +113 lines, -0 lines 0 comments Download
A third_party/pexpect/pexpect/run.py View 1 chunk +157 lines, -0 lines 0 comments Download
A third_party/pexpect/pexpect/screen.py View 1 chunk +431 lines, -0 lines 0 comments Download
A third_party/pexpect/pexpect/spawnbase.py View 1 chunk +488 lines, -0 lines 0 comments Download
A third_party/pexpect/pexpect/utils.py View 1 chunk +112 lines, -0 lines 0 comments Download
A third_party/pexpect/requirements-testing.txt View 1 chunk +5 lines, -0 lines 0 comments Download
A third_party/pexpect/setup.cfg View 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/pexpect/setup.py View 1 chunk +67 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/PexpectTestCase.py View 1 chunk +108 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/README View 1 chunk +8 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/TESTDATA.txt View 1 chunk +8 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/__init__.py View 1 chunk +25 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/adhoc.py View 1 chunk +36 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/alarm_die.py View 1 chunk +5 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/bambi.vt View 1 chunk +417 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/depricated_test_filedescriptor.py View 1 chunk +82 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/echo_w_prompt.py View 1 chunk +15 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/echo_wait.py View 1 chunk +41 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/exit1.py View 1 chunk +24 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/exit667.c View 1 chunk +26 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/fakessh/ssh View 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/getch.py View 1 chunk +50 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/globe.vt View 1 chunk +690 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/interact.py View 1 chunk +52 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/list100.py View 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/needs_kill.py View 1 chunk +13 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/pexpectTest.py View 1 chunk +69 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/platform_checks/CSIGNALTEST/test.c View 1 chunk +90 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/platform_checks/README View 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/platform_checks/check.py View 1 chunk +77 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/platform_checks/check2.py View 1 chunk +44 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/platform_checks/check_control_terminal.py View 1 chunk +19 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/platform_checks/check_handler.py View 1 chunk +60 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/platform_checks/check_read.py View 1 chunk +35 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/platform_checks/check_signals.py View 1 chunk +67 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/qa.py View 1 chunk +26 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/sigwinch_report.py View 1 chunk +50 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/sleep_for.py View 1 chunk +41 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/swapcase_echo.py View 1 chunk +26 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_FSM.py View 1 chunk +34 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_ansi.py View 1 chunk +228 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_async.py View 1 chunk +51 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_command_list_split.py View 1 chunk +40 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_constructor.py View 1 chunk +48 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_ctrl_chars.py View 1 chunk +125 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_destructor.py View 1 chunk +84 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_dotall.py View 1 chunk +43 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_expect.py View 1 chunk +583 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_filedescriptor.py View 1 chunk +72 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_interact.py View 1 chunk +101 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_isalive.py View 1 chunk +125 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_log.py View 1 chunk +108 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_misc.py View 1 chunk +353 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_missing_command.py View 1 chunk +38 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_performance.py View 1 chunk +107 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_pickling.py View 1 chunk +14 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_popen_spawn.py View 1 chunk +131 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_pxssh.py View 1 chunk +53 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_replwrap.py View 1 chunk +105 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_repr.py View 1 chunk +26 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_run.py View 1 chunk +191 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_run_out_of_pty.py View 1 chunk +51 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_screen.py View 1 chunk +287 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_timeout_pattern.py View 1 chunk +92 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_unicode.py View 1 chunk +187 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_which.py View 1 chunk +274 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/test_winsize.py View 1 chunk +60 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/tetris.data View 1 chunk +3 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/ticker.py View 1 chunk +28 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/torturet.vt View 1 chunk +61 lines, -0 lines 0 comments Download
A third_party/pexpect/tests/utils.py View 1 chunk +7 lines, -0 lines 0 comments Download
A third_party/pexpect/tools/display-fpathconf.py View 1 chunk +41 lines, -0 lines 0 comments Download
A third_party/pexpect/tools/display-maxcanon.py View 1 chunk +80 lines, -0 lines 0 comments Download
A third_party/pexpect/tools/display-sighandlers.py View 1 chunk +24 lines, -0 lines 0 comments Download
A third_party/pexpect/tools/display-terminalinfo.py View 1 chunk +209 lines, -0 lines 0 comments Download
A third_party/pexpect/tools/teamcity-coverage-report.sh View 1 chunk +27 lines, -0 lines 0 comments Download
A third_party/pexpect/tools/teamcity-runtests.sh View 1 chunk +64 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 2 (0 generated)
scottmg
Not sure how you feel about importing this. The actual tests are in the subsequent ...
5 years, 2 months ago (2015-10-08 23:36:28 UTC) #1
scottmg
5 years, 2 months ago (2015-10-09 17:22:26 UTC) #2
On 2015/10/08 23:36:28, scottmg wrote:
> Not sure how you feel about importing this.
> 
> The actual tests are in the subsequent CL here
> https://codereview.chromium.org/1397833004 .
> 
> It seems to work fairly well (just kind of works, handles timeouts, etc.), but
> it's also a big blob of code to pull.
> 
> Another possible approach to avoid this, cdb also has a -c command line
argument
> which runs commands as if they were typed. So, in the above CL, we could use
> that, passing it command lines like -c ".excr;q", then capture the output, and
> write some regex-y code to look for a set of patterns in sequence.

Yeah, I think I'll do this instead. Closing this CL, and I'll update the follow
on.

Powered by Google App Engine
This is Rietveld 408576698