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

Unified Diff: tools/isolate/run_test_cases_smoke_test.py

Issue 10911014: Enable Chrome Sandbox with run_test_cases.py (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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
« tools/isolate/run_test_cases.py ('K') | « tools/isolate/run_test_cases.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/isolate/run_test_cases_smoke_test.py
diff --git a/tools/isolate/run_test_cases_smoke_test.py b/tools/isolate/run_test_cases_smoke_test.py
index 855643fcd432f493187d08c3bc79b412cda1d09e..ba307244531d48b3aeca464fe2091ac14d7165f8 100755
--- a/tools/isolate/run_test_cases_smoke_test.py
+++ b/tools/isolate/run_test_cases_smoke_test.py
@@ -39,6 +39,7 @@ class TraceTestCases(unittest.TestCase):
# Make sure there's no environment variable that could do side effects.
os.environ.pop('GTEST_SHARD_INDEX', '')
os.environ.pop('GTEST_TOTAL_SHARDS', '')
+ os.environ.pop('CHROME_DEVEL_SANDBOX','')
self.filename = 'test.results'
@@ -77,6 +78,8 @@ class TraceTestCases(unittest.TestCase):
self.assertEquals(0, return_code)
expected_out_re = [
+ r'Disabling sandbox. Setting environment variable:',
+ r' CHROME_DEVEL_SANDBOX=""',
r'\[\d/\d\] \d\.\d\ds .+',
r'\[\d/\d\] \d\.\d\ds .+',
r'\[\d/\d\] \d\.\d\ds .+',
@@ -102,6 +105,8 @@ class TraceTestCases(unittest.TestCase):
self.assertEquals(1, return_code)
expected_out_re = [
+ r'Disabling sandbox. Setting environment variable:',
+ r' CHROME_DEVEL_SANDBOX=""',
r'\[\d/\d\] \d\.\d\ds .+',
r'\[\d/\d\] \d\.\d\ds .+',
r'\[\d/\d\] \d\.\d\ds .+',
« tools/isolate/run_test_cases.py ('K') | « tools/isolate/run_test_cases.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698