Skip to content

Instantly share code, notes, and snippets.

@rafaelbrandao
Created September 21, 2012 21:44
Show Gist options
  • Save rafaelbrandao/3764129 to your computer and use it in GitHub Desktop.
Save rafaelbrandao/3764129 to your computer and use it in GitHub Desktop.
List webkit layout tests that match a certain pattern.
list-webkit-tests() {
search_dir=$WK_SOURCE_DIR/LayoutTests/
echo 'Searching layout tests matching "'$*'" on '$search_dir'...';
grep -R $* -r $search_dir | grep .html | cut -f1 -d' ' | cut -f1 -d':' | uniq 2>&1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment