chore(tests): Make analyse.sh platform agnostic.