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

Unified Diff: test/ldflags-duplicates/gyptest-ldflags-duplicates.py

Issue 1209553002: Do not remote duplicate entries from ldflags when generating ninja files as it changes behavior (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: Updated license headers Created 5 years, 6 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 | « test/ldflags-duplicates/check-ldflags.py ('k') | test/ldflags-duplicates/lib1.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/ldflags-duplicates/gyptest-ldflags-duplicates.py
diff --git a/test/msvs/rules_stdout_stderr/rule_stderr.py b/test/ldflags-duplicates/gyptest-ldflags-duplicates.py
similarity index 52%
copy from test/msvs/rules_stdout_stderr/rule_stderr.py
copy to test/ldflags-duplicates/gyptest-ldflags-duplicates.py
index f4860624f3daef32a3aae72b3570700643f2857e..61b9f1282333de5e53dcd9e13a92a5a1c3f577ff 100644
--- a/test/msvs/rules_stdout_stderr/rule_stderr.py
+++ b/test/ldflags-duplicates/gyptest-ldflags-duplicates.py
@@ -1,7 +1,17 @@
#!/usr/bin/env python
+
# Copyright (c) 2015 Google Inc. 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
-print >>sys.stderr, "This will go to stderr"
+"""
+Verifies duplicate ldflags are not removed.
+"""
+
+import TestGyp
+
+test = TestGyp.TestGyp()
+test.run_gyp('test.gyp')
+test.build('test.gyp')
+
+test.pass_test()
« no previous file with comments | « test/ldflags-duplicates/check-ldflags.py ('k') | test/ldflags-duplicates/lib1.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698