diff options
Diffstat (limited to 'scripts/test')
| -rwxr-xr-x | scripts/test | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/test b/scripts/test index d093eab..e389728 100755 --- a/scripts/test +++ b/scripts/test | |||
| @@ -13,6 +13,8 @@ fi | |||
| 13 | # generate source tree | 13 | # generate source tree |
| 14 | ./autogen.sh | 14 | ./autogen.sh |
| 15 | 15 | ||
| 16 | VERSION=`cat VERSION` | ||
| 17 | |||
| 16 | if [ "$ARCH" = "" ]; then | 18 | if [ "$ARCH" = "" ]; then |
| 17 | ARCH=`uname -m` | 19 | ARCH=`uname -m` |
| 18 | fi | 20 | fi |
| @@ -26,8 +28,8 @@ if [ `uname` = "Darwin" ]; then | |||
| 26 | make -j 4 distcheck | 28 | make -j 4 distcheck |
| 27 | 29 | ||
| 28 | # test cmake | 30 | # test cmake |
| 29 | tar zxvf libressl-*.tar.gz | 31 | tar zxvf libressl-$VERSION.tar.gz |
| 30 | cd libressl-* | 32 | cd libressl-$VERSION |
| 31 | 33 | ||
| 32 | ( | 34 | ( |
| 33 | mkdir build-static | 35 | mkdir build-static |
| @@ -61,8 +63,8 @@ elif [ "$ARCH" = "native" ]; then | |||
| 61 | # make distribution | 63 | # make distribution |
| 62 | make -j 4 distcheck | 64 | make -j 4 distcheck |
| 63 | 65 | ||
| 64 | tar zxvf libressl-*.tar.gz | 66 | tar zxvf libressl-$VERSION.tar.gz |
| 65 | cd libressl-* | 67 | cd libressl-$VERSION |
| 66 | 68 | ||
| 67 | 69 | ||
| 68 | # test cmake and ninja | 70 | # test cmake and ninja |
