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

Unified Diff: third_party/typ/README.chromium

Issue 627763002: Add new 'typ' python testing framework to third_party/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: upload to typ v0.8.1, update README.chromium Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/typ/OWNERS ('k') | third_party/typ/README.rst » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/typ/README.chromium
diff --git a/third_party/typ/README.chromium b/third_party/typ/README.chromium
new file mode 100644
index 0000000000000000000000000000000000000000..718178362104838803430102d1a1acc3e5579349
--- /dev/null
+++ b/third_party/typ/README.chromium
@@ -0,0 +1,32 @@
+Name: typ
+URL: https://github.com/dpranke/typ.git
+Version: 0.8.1
+Revision: 2cb7549d40852df0b9f9e323e0d31ff5bfcbace7
+Security Critical: no
+License: Apache 2.0
+License File: NOT_SHIPPED
+
+Description:
+
+typ is a simple wrapper around Python's unittest library that provides a
+somewhat nicer command-line interface, parallel test execution,
+code coverage support, and support for Chromium's JSON Results format.
+
+This code is not considered security critical since it is only to be linked
+into test binaries! This should never be linked into chrome or any production
+code.
+
+To update this copy of typ from the source repo (assuming you are in
+src/third_party/typ):
+
+ # can just do "sed -n '/^ /p' README.chromium | bash -e"
+ cd ..
+ git clone https://github.com/dpranke/typ.git typ_new
+ revision=$(cd typ_new && git log -1 | head -1 | awk '{ print $2 }')
+ version=$(cd typ_new && python -m typ --version)
+ cp typ/OWNERS typ_new
tfarina 2015/12/12 01:06:09 Dirk, is "OWNERS" right here? I'm just curious, be
tfarina 2015/12/12 01:17:38 Oh, actually, this is just copying the OWNERS file
+ cat typ/README.chromium | sed -e "s/^Version: .*/Version: $version/" \
+ -e "s/^Revision: .*/Revision: $revision/" \
+ > typ_new/README.chromium
+ rm -fr typ_new/.git typ_new/.gitignore typ/
+ mv typ_new typ
« no previous file with comments | « third_party/typ/OWNERS ('k') | third_party/typ/README.rst » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698