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

Side by Side Diff: Tools/Scripts/webkitpy/w3c/test_importer.py

Issue 16021006: Update comments, tests after r151126. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Tools/Scripts/webkitpy/layout_tests/port/test.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 2
3 # Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. 3 # Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved.
4 # 4 #
5 # Redistribution and use in source and binary forms, with or without 5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions 6 # modification, are permitted provided that the following conditions
7 # are met: 7 # are met:
8 # 8 #
9 # 1. Redistributions of source code must retain the above 9 # 1. Redistributions of source code must retain the above
10 # copyright notice, this list of conditions and the following 10 # copyright notice, this list of conditions and the following
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 It can obviously and easily be changed. 58 It can obviously and easily be changed.
59 59
60 - By default, only reftests and jstest are imported. This can be overridden with a -a or --all 60 - By default, only reftests and jstest are imported. This can be overridden with a -a or --all
61 argument 61 argument
62 62
63 - Also by default, if test files by the same name already exist in the desti nation directory, 63 - Also by default, if test files by the same name already exist in the desti nation directory,
64 they are overwritten with the idea that running this script would refresh files periodically. 64 they are overwritten with the idea that running this script would refresh files periodically.
65 This can also be overridden by a -n or --no-overwrite flag 65 This can also be overridden by a -n or --no-overwrite flag
66 66
67 - All files are converted to work in WebKit: 67 - All files are converted to work in WebKit:
68 2. Paths to testharness.js files are modified point to Webkit's copy of them in 68 1. Paths to testharness.js files are modified point to Webkit's copy of them in
69 LayoutTests/resources, using the correct relative path from the new location 69 LayoutTests/resources, using the correct relative path from the new location
70 3. All CSS properties requiring the -webkit-vendor prefix are prefixed - this current 70 2. All CSS properties requiring the -webkit-vendor prefix are prefixed - this current
71 list of what needs prefixes is read from Source/WebCore/CSS/CSSPrope rties.in 71 list of what needs prefixes is read from Source/WebCore/CSS/CSSPrope rties.in
72 4. Each reftest has its own copy of its reference file following the na ming conventions 72 3. Each reftest has its own copy of its reference file following the na ming conventions
73 new-run-webkit-tests expects 73 new-run-webkit-tests expects
74 5. If a reference files lives outside the directory of the test that us es it, it is checked 74 4. If a reference files lives outside the directory of the test that us es it, it is checked
75 for paths to support files as it will be imported into a different r elative position to the 75 for paths to support files as it will be imported into a different r elative position to the
76 test file (in the same directory) 76 test file (in the same directory)
77 77
78 - Upon completion, script outputs the total number tests imported, broken d own by test type 78 - Upon completion, script outputs the total number tests imported, broken d own by test type
79 79
80 - Also upon completion, each directory where files are imported will have w 3c-import.log written 80 - Also upon completion, each directory where files are imported will have w 3c-import.log written
81 with a timestamp, the W3C Mercurial changeset if available, the list of C SS properties used that 81 with a timestamp, the W3C Mercurial changeset if available, the list of C SS properties used that
82 require prefixes, the list of imported files, and guidance for future tes t modification and 82 require prefixes, the list of imported files, and guidance for future tes t modification and
83 maintenance. 83 maintenance.
84 84
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 for prop in prop_list: 415 for prop in prop_list:
416 import_log.write(prop + '\n') 416 import_log.write(prop + '\n')
417 else: 417 else:
418 import_log.write('None\n') 418 import_log.write('None\n')
419 import_log.write('------------------------------------------------------ ------------------\n') 419 import_log.write('------------------------------------------------------ ------------------\n')
420 import_log.write('List of files:\n') 420 import_log.write('List of files:\n')
421 for item in file_list: 421 for item in file_list:
422 import_log.write(item + '\n') 422 import_log.write(item + '\n')
423 423
424 import_log.close() 424 import_log.close()
OLDNEW
« no previous file with comments | « Tools/Scripts/webkitpy/layout_tests/port/test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698