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

Unified Diff: tools/isolate/data/isolate/fail.py

Issue 10068032: Rewrite isolate_smoke_test.py to increase the coverage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: _execute() is now less ambiguous, still with test case name verification Created 8 years, 8 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 | « tools/isolate/data/isolate/fail.isolate ('k') | tools/isolate/data/isolate/no_run.isolate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/isolate/data/isolate/fail.py
diff --git a/tools/isolate/data/isolate/fail.py b/tools/isolate/data/isolate/fail.py
new file mode 100755
index 0000000000000000000000000000000000000000..a82098ac9697f9dc9f1fe78a21039a0dca799e17
--- /dev/null
+++ b/tools/isolate/data/isolate/fail.py
@@ -0,0 +1,15 @@
+#!/usr/bin/env python
+# Copyright (c) 2012 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import sys
+
+
+def main():
+ print 'Failing'
+ return 1
+
+
+if __name__ == '__main__':
+ sys.exit(main())
« no previous file with comments | « tools/isolate/data/isolate/fail.isolate ('k') | tools/isolate/data/isolate/no_run.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698