Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5986440
debug_selser.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
856 B
Referenced Files
None
Subscribers
None
debug_selser.sh
View Options
#!/bin/sh
# $1 would be the title/substring of the title that parserTests.js uses to filter tests
# $2 would be the changetree -- copy-paste it from a failing test in parserTests-knownFailures.json
# $3 (optional) would be the parser test file
#
# Ex 1: debug_selser.sh "Say the magic word" "[[1,2,0,0,0,4,0,4,0,3,0,4,0,2,2,0,1,3,1,4,[4,0],3,[2],3,0,0,3,0,[2,0],0,4,0,[4,0],0,0,0,2,2,0,0,0,4,0]]"
# Ex 2: debug_selser.sh "Lists: 0. Outside nests" "[0,3,2]"
#
# "--trace selser" currently emits verbose selser and wts debugging output.
# So, you will want to pipe both stdout and stderr through less.
# You can copy this commandline to omit "--trace selser" if you dont want the verbose output.
php
"
$(
dirname
"
$0
"
)
"
/parserTests.php
--selser
auto
--dump
dom:post-changes
--knownFailures
false
--trace
selser,wt-escape
--filter
"
$1
"
--changetree
"
$2
"
"
$3
"
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Sun, Oct 4, 00:06 (2 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
aa/92/1fad52d2424998d93193e483d60b
Default Alt Text
debug_selser.sh (856 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment