diff options
Diffstat (limited to 'scripts/getbaseline.sh')
| -rwxr-xr-x | scripts/getbaseline.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/getbaseline.sh b/scripts/getbaseline.sh new file mode 100755 index 0000000..719fbe5 --- /dev/null +++ b/scripts/getbaseline.sh @@ -0,0 +1,14 @@ +#!/bin/bash +cd tests/data +for i in $@; do + if [[ $i == '2.7' ]]; then + # we only support 2.7 now + wget https://github.com/getnikola/invariant-builds/archive/v$i'.zip' + unzip 'v'$i'.zip' + rm -rf baseline$i + mv invariant-builds-$i baseline$i + rm 'v'$i'.zip' + else + echo 'Version '$i' does not support baseline testing.' + fi +done |
