Skip to content

Instantly share code, notes, and snippets.

@awesomekling
Created December 8, 2020 23:00
Show Gist options
  • Save awesomekling/23a85db9200f947c6d5c1efa1e8ae494 to your computer and use it in GitHub Desktop.
Save awesomekling/23a85db9200f947c6d5c1efa1e8ae494 to your computer and use it in GitHub Desktop.
#!/bin/Shell
results_dir=/tmp/rwt
rm -rf $results_dir
mkdir -p $results_dir
cd $results_dir
echo Running web layout tests...
printf "\e[s"
for /res/html/misc/*.html {
basename=$(basename $it)
result=$basename.result
printf "\e[u\e[2K\e[u"
printf $basename
DumpLayoutTree $it > $basename.result
}
printf "\nDone\n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment