- ccache
- clang-3.6
- gcc-5
+ - g++-5
+ - golang
- binutils-mingw-w64
- gcc-mingw-w64
sources:
compiler: clang-3.6
env: CONFIG_OPTS="--strict-warnings no-deprecated" BUILDONLY="yes"
- os: linux
- compiler: gcc
- env: CONFIG_OPTS="--debug --coverage no-asm enable-rc5 enable-md2 enable-ec_nistp_64_gcc_128 enable-ssl3 enable-ssl3-method enable-nextprotoneg enable-weak-ssl-ciphers" COVERALLS="yes"
+ compiler: gcc-5
+ env: CONFIG_OPTS="--debug --coverage no-asm enable-rc5 enable-md2 enable-ec_nistp_64_gcc_128 enable-ssl3 enable-ssl3-method enable-nextprotoneg enable-weak-ssl-ciphers enable-external-tests" COVERALLS="yes" BORINGSSL_TESTS="yes" CXX="g++-5"
- os: linux
compiler: clang-3.6
env: CONFIG_OPTS="enable-msan"
else
make="make";
fi
+ - top=${PWD}
- if [ -n "$DESTDIR" ]; then
cd _build;
- top=..;
- else
- top=.;
fi
- $make update
- $make
sudo apt-get -yq --no-install-suggests --no-install-recommends --force-yes install wine;
export EXE_SHELL="wine" WINEPREFIX=`pwd`;
fi;
- HARNESS_VERBOSE=yes make test;
+ HARNESS_VERBOSE=yes BORING_RUNNER_DIR=$top/boringssl/ssl/test/runner make test;
else
$make build_tests;
fi
- if [ -n "$DESTDIR" ]; then
- mkdir "../$DESTDIR";
- $make install install_docs DESTDIR="../$DESTDIR";
+ mkdir "$top/$DESTDIR";
+ $make install install_docs DESTDIR="$top/$DESTDIR";
fi
- cd $top
use OpenSSL::Test;
use OpenSSL::Test::Utils;
-use OpenSSL::Test qw/:DEFAULT srctop_file cmdstr/;
+use OpenSSL::Test qw/:DEFAULT bldtop_file srctop_file cmdstr/;
setup("test_external");
+plan skip_all => "No external tests in this configuration"
+ if disabled("external-tests");
+
if (!$ENV{BORING_RUNNER_DIR}) {
plan skip_all => "No external tests have been detected";
}
indir $ENV{BORING_RUNNER_DIR} => sub {
ok(filter_run(cmd(["go", "test", "-shim-path",
- srctop_file("test", "ossl_shim", "ossl_shim"),
+ bldtop_file("test", "ossl_shim", "ossl_shim"),
"-shim-config",
srctop_file("test", "ossl_shim", "ossl_config.json"),
"-pipe", "-allow-unimplemented"])),