blob: 88306dd12ae55cccfbddd2da3b620358b9608895 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
srcdir="${srcdir:-..}"
top_builddir="${top_builddir:-../../..}"
nodejs --help >/dev/null 2>&1
if test $? = 0; then
NODEJS=nodejs
else
node --help >/dev/null 2>&1
if test $? = 0; then
NODEJS=node
fi
fi
if test -z "${NODEJS}"; then
echo "You need nodejs to run this test"
exit 77
fi
set -e
"${srcdir}/ciphersuite/scan-gnutls.sh" > "${top_builddir}/tests/suite/ciphersuite/gnutls-ciphers.js"
srcdir="${srcdir}/ciphersuite" builddir="${top_builddir}/tests/suite/ciphersuite" ${NODEJS} "${srcdir}/ciphersuite/test-ciphers.js"
|