Chromium Code Reviews
DescriptionConvert ScriptProcessor Audit tests to testharness
Converted using the script
for f in `grep -l Audit *.html`
do
# Replace js-test with testharness and add testharnessreport.js
sed -i 's;\(.*\)\(<script.*\)js-test.js\(.*\);\1\2testharness.js\3\
\1\2testharnessreport.js\3 ;' $f
# Remove old js-test methods that no longer exist.
sed -i '/^[ ]*\(description(.*)\|finishJSTest()\);[ ]*$/d' $f
# Remove jsTestIsAsync stuff
sed -i '/^[ ]*window.jsTestIsAsync *= *true;[ ]*$/d' $f
# Remove expected results file.
base=`basename $f .html`
if [ -f $base-expected.txt ]; then
git rm $base-expected.txt
fi
done
BUG=688493
TEST=scriptprocessornode-0-output-channels.html
Review-Url: https://codereview.chromium.org/2669263006
Cr-Commit-Position: refs/heads/master@{#451368}
Committed: https://chromium.googlesource.com/chromium/src/+/f5df21df7ccb7b4dcbff0c6d7f8c5f1e1276af31
Patch Set 1 #Patch Set 2 : Remove finish task and some extra blank lines #
Messages
Total messages: 9 (5 generated)
|
||||||||||||||||||||||||||||