summaryrefslogtreecommitdiffstats
path: root/ppapi/PRESUBMIT.py
diff options
context:
space:
mode:
authornoelallen@chromium.org <noelallen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-06 15:43:05 +0000
committernoelallen@chromium.org <noelallen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-06 15:43:05 +0000
commit6faeb209cd4f0a2f09398361a800124f7937f727 (patch)
treea04f44643a4a7a6953976fae774215640c117c22 /ppapi/PRESUBMIT.py
parent3a8f32e09df393644ef80e156d2996af553f9bb7 (diff)
downloadchromium_src-6faeb209cd4f0a2f09398361a800124f7937f727.zip
chromium_src-6faeb209cd4f0a2f09398361a800124f7937f727.tar.gz
chromium_src-6faeb209cd4f0a2f09398361a800124f7937f727.tar.bz2
Added test and fixed bugs with release dependency
Fixed 'visited' bug where sibling were poluting the visit set, preventing dependency expantion. Fixed release list generation where a node's typeref releases were not constrained by the node's min/max. Added generator unit tests to PRESUBMIT when changes to generator are detected. Added test for release dependency when a child uses different releases than the parent. Fix release dependencies and tests. R=sehr@chromium.org BUG=157017 Review URL: https://chromiumcodereview.appspot.com/11419173 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171499 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/PRESUBMIT.py')
-rw-r--r--ppapi/PRESUBMIT.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ppapi/PRESUBMIT.py b/ppapi/PRESUBMIT.py
index 5fbb135..6a4ea12 100644
--- a/ppapi/PRESUBMIT.py
+++ b/ppapi/PRESUBMIT.py
@@ -31,10 +31,10 @@ def RunUnittests(input_api, output_api):
if name_parts[0:2] == ['ppapi', 'generators']:
generator_files.append(filename)
if generator_files != []:
- cmd = [ sys.executable, 'idl_gen_pnacl.py', '--wnone', '--test']
+ cmd = [ sys.executable, 'idl_tests.py']
ppapi_dir = input_api.PresubmitLocalPath()
results.extend(RunCmdAndCheck(cmd,
- 'PPAPI IDL Pnacl unittest failed.',
+ 'PPAPI IDL unittests failed.',
output_api,
os.path.join(ppapi_dir, 'generators')))
return results