diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-03 14:19:22 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-03 14:19:22 +0000 |
commit | 0ec28e6f733171b071d8c105050d6e4fa0ec7d0c (patch) | |
tree | f2a35b02b9778ce8edbf9071cff07c3d2ee77440 /native_client_sdk | |
parent | ec645ac7cf91dfdbd440619fe00307c5e88ae8e6 (diff) | |
download | chromium_src-0ec28e6f733171b071d8c105050d6e4fa0ec7d0c.zip chromium_src-0ec28e6f733171b071d8c105050d6e4fa0ec7d0c.tar.gz chromium_src-0ec28e6f733171b071d8c105050d6e4fa0ec7d0c.tar.bz2 |
Fix check_perms on Linux
Note: the file modifications are simply so the files can be uploaded to rietveld.
NOTRY=true
TBR=noelallen@chromium.org
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10501015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140233 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'native_client_sdk')
-rwxr-xr-x[-rw-r--r--] | native_client_sdk/src/build_tools/generate_make.py | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | native_client_sdk/src/build_tools/tests/test_generate_make.py | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/native_client_sdk/src/build_tools/generate_make.py b/native_client_sdk/src/build_tools/generate_make.py index ec23bbf..f04aa47 100644..100755 --- a/native_client_sdk/src/build_tools/generate_make.py +++ b/native_client_sdk/src/build_tools/generate_make.py @@ -233,5 +233,6 @@ def main(argv): repdict = GenerateReplacements(testdesc) WriteMakefile(srcpath, 'out.make', repdict) + if __name__ == '__main__': sys.exit(main(sys.argv[1:])) diff --git a/native_client_sdk/src/build_tools/tests/test_generate_make.py b/native_client_sdk/src/build_tools/tests/test_generate_make.py index 574d59b..0dce260 100644..100755 --- a/native_client_sdk/src/build_tools/tests/test_generate_make.py +++ b/native_client_sdk/src/build_tools/tests/test_generate_make.py @@ -17,7 +17,7 @@ BUILD_TOOLS_DIR = os.path.dirname(SCRIPT_DIR) sys.path.append(BUILD_TOOLS_DIR) import generate_make -BASIC_DESC = { +BASIC_DESC = { 'TOOLS': ['newlib', 'glibc'], 'TARGETS': [ { @@ -112,7 +112,6 @@ class TestValidateFormat(unittest.TestCase): self._validate(testdesc, 'Key TOOLS expects LIST not STR.') # TODO(noelallen): Add test which generates a real make and runs it. -# See: def main(): suite = unittest.defaultTestLoader.loadTestsFromModule(sys.modules[__name__]) |