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

Unified Diff: prebuilt_unittest.py

Issue 4566001: Fix for bug 8764 that breaks prebuilts for files with more than just keyword pairs. (Closed) Base URL: http://git.chromium.org/git/crosutils.git@master
Patch Set: Remove unnecessary check of = in string Created 10 years, 1 month 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 | « prebuilt.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: prebuilt_unittest.py
diff --git a/prebuilt_unittest.py b/prebuilt_unittest.py
index 37d24afde13f62155f66702762325bb6a342ac6d..fe2387fbf71da63bf58d372869a8d4294f7ed313 100755
--- a/prebuilt_unittest.py
+++ b/prebuilt_unittest.py
@@ -17,7 +17,9 @@ class TestUpdateFile(unittest.TestCase):
self.contents_str = ['# comment that should be skipped',
'PKGDIR="/var/lib/portage/pkgs"',
'PORTAGE_BINHOST="http://no.thanks.com"',
- 'portage portage-20100310.tar.bz2']
+ 'portage portage-20100310.tar.bz2',
+ 'COMPILE_FLAGS="some_value=some_other"',
+ ]
temp_fd, self.version_file = tempfile.mkstemp()
os.write(temp_fd, '\n'.join(self.contents_str))
os.close(temp_fd)
« no previous file with comments | « prebuilt.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698