diff options
author | Tobias Brunner <tobias@strongswan.org> | 2014-03-03 18:44:29 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2014-03-20 15:49:05 +0100 |
commit | 316aa4b43b8ced4169f3887603d588028c9411a2 (patch) | |
tree | accbc2c09646be8eeafada4f932c47ec2d215164 /scripts | |
parent | 4ffe02a75d4ed5cb4f698c2c96068f380060899c (diff) | |
download | strongswan-316aa4b43b8ced4169f3887603d588028c9411a2.tar.bz2 strongswan-316aa4b43b8ced4169f3887603d588028c9411a2.tar.xz |
travis: Add tests for builtin printf hook implementation
We can't test Vstr as it does not properly handle negative int arguments
for custom format callbacks, so some of the enum tests would fail.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/test.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/test.sh b/scripts/test.sh index 30e851e31..80d04d1d5 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -13,6 +13,8 @@ DEPS="libgmp-dev" case "$TEST" in default) + # should be the default, but lets make sure + CONFIG="--with-printf-hooks=glibc" ;; openssl) CONFIG="--disable-defaults --enable-tools --enable-openssl" @@ -22,6 +24,9 @@ gcrypt) CONFIG="--disable-defaults --enable-tools --enable-gcrypt --enable-pkcs1" DEPS="libgcrypt11-dev" ;; +printf-builtin) + CONFIG="--with-printf-hooks=builtin" + ;; all) CONFIG="--enable-all --disable-android-dns --disable-android-log --disable-dumm --disable-kernel-pfroute --disable-keychain @@ -29,8 +34,6 @@ all) --disable-osx-attr --disable-tkm --disable-uci" # not enabled on the build server CONFIG="$CONFIG --disable-af-alg" - # TODO: add tests for different printf implementations? - CONFIG="$CONFIG --disable-vstr" # TODO: enable? perhaps via coveralls.io (cpp-coveralls)? CONFIG="$CONFIG --disable-coverage" DEPS="$DEPS libcurl4-gnutls-dev libsoup2.4-dev libunbound-dev libldns-dev |