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

Unified Diff: native_client_sdk/src/build_tools/tests/generate_make_test.py

Issue 11571032: [NaCl SDK] cleanup python unittests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | « no previous file | native_client_sdk/src/build_tools/tests/sdktools_commands_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/build_tools/tests/generate_make_test.py
diff --git a/native_client_sdk/src/build_tools/tests/test_generate_make.py b/native_client_sdk/src/build_tools/tests/generate_make_test.py
similarity index 90%
rename from native_client_sdk/src/build_tools/tests/test_generate_make.py
rename to native_client_sdk/src/build_tools/tests/generate_make_test.py
index c0d1e420d8a5ef2c04e4e14f531037003c9ed4f0..c6cd9dee98e610d2054d640a264563e6c7624012 100755
--- a/native_client_sdk/src/build_tools/tests/test_generate_make.py
+++ b/native_client_sdk/src/build_tools/tests/generate_make_test.py
@@ -30,16 +30,6 @@ BASIC_DESC = {
}
class TestFunctions(unittest.TestCase):
- def testPatsubst(self):
- val = generate_make.GenPatsubst(32, 'FOO', 'cc', 'CXX')
- gold = '$(patsubst %.cc,%_32.o,$(FOO_CXX))'
- self.assertEqual(val, gold)
-
- def testPatsubst(self):
- val = generate_make.GenPatsubst(32, 'FOO', 'cc', 'CXX')
- gold = '$(patsubst %.cc,%_32.o,$(FOO_CXX))'
- self.assertEqual(val, gold)
-
def testSetVar(self):
val = generate_make.SetVar('FOO',[])
self.assertEqual(val, 'FOO:=\n')
« no previous file with comments | « no previous file | native_client_sdk/src/build_tools/tests/sdktools_commands_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698