diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/test | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/test b/scripts/test index 97e316e..6d9c15c 100755 --- a/scripts/test +++ b/scripts/test | |||
@@ -4,6 +4,7 @@ set -x | |||
4 | 4 | ||
5 | unset CC | 5 | unset CC |
6 | ENABLE_ASM="${ENABLE_ASM:=ON}" | 6 | ENABLE_ASM="${ENABLE_ASM:=ON}" |
7 | VERSION=`cat VERSION` | ||
7 | 8 | ||
8 | if type apt-get >/dev/null 2>&1; then | 9 | if type apt-get >/dev/null 2>&1; then |
9 | sudo apt-get update | 10 | sudo apt-get update |
@@ -26,8 +27,8 @@ if [ `uname` = "Darwin" ]; then | |||
26 | make -j 4 distcheck | 27 | make -j 4 distcheck |
27 | 28 | ||
28 | # test cmake | 29 | # test cmake |
29 | tar zxvf libressl-*.tar.gz | 30 | tar zxvf libressl-$VERSION.tar.gz |
30 | cd libressl-* | 31 | cd libressl-$VERSION |
31 | 32 | ||
32 | ( | 33 | ( |
33 | mkdir build-static | 34 | mkdir build-static |
@@ -57,8 +58,8 @@ elif [ "$ARCH" = "native" ]; then | |||
57 | # make distribution | 58 | # make distribution |
58 | make -j 4 distcheck | 59 | make -j 4 distcheck |
59 | 60 | ||
60 | tar zxvf libressl-*.tar.gz | 61 | tar zxvf libressl-$VERSION.tar.gz |
61 | cd libressl-* | 62 | cd libressl-$VERSION |
62 | 63 | ||
63 | 64 | ||
64 | # test cmake and ninja | 65 | # test cmake and ninja |