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

Side by Side Diff: tools/telemetry/third_party/coverage/tests/farm/run/run_chdir.py

Issue 1366913004: Add coverage Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months 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
OLDNEW
(Empty)
1 # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
2 # For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
3
4 copy("src", "out")
5 run("""
6 coverage run chdir.py
7 coverage report
8 """, rundir="out", outfile="stdout.txt")
9 contains("out/stdout.txt",
10 "Line One",
11 "Line Two",
12 "chdir"
13 )
14 doesnt_contain("out/stdout.txt", "No such file or directory")
15 clean("out")
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698