diff options
author | Tomas Mraz <tomas@openssl.org> | 2021-03-03 18:26:22 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-03-05 14:27:46 +0100 |
commit | 996d2693e26d98456a2ec4fb1a5dd432ff026225 (patch) | |
tree | 57a78a24391b1e756980483547970e3e20ba1716 | |
parent | c3a85d3d170a0bffd7b009edb544f0a4a182a3b7 (diff) |
CI: add job with external tests
Update gost-engine submodule.
Update pyca-cryptography submodule.
Fix condition for skipping krb5 test.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/14416)
-rw-r--r-- | .github/workflows/ci.yml | 16 | ||||
m--------- | gost-engine | 0 | ||||
m--------- | pyca-cryptography | 0 | ||||
-rw-r--r-- | test/ossl_shim/include/openssl/base.h | 3 | ||||
-rw-r--r-- | test/recipes/95-test_external_krb5.t | 2 |
5 files changed, 20 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67ec2541b3..f2fdacce26 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -166,3 +166,19 @@ jobs: - name: make install run: make install working-directory: ./build + external-tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + submodules: recursive + - name: package installs + run: | + sudo apt-get update + sudo apt-get -yq install bison dejagnu gettext keyutils ldap-utils libldap2-dev libkeyutils-dev python3 python3-paste python3-pyrad slapd tcl-dev tcsh python3-virtualenv virtualenv + - name: config + run: ./config --strict-warnings --debug no-afalgeng enable-rc5 enable-md2 enable-ssl3 enable-ssl3-method enable-weak-ssl-ciphers enable-zlib enable-ec_nistp_64_gcc_128 enable-external-tests && perl configdata.pm --dump + - name: make + run: make -s -j4 + - name: make test + run: BORING_RUNNER_DIR=$(pwd)/boringssl/ssl/test/runner make test TESTS="test_external*" diff --git a/gost-engine b/gost-engine -Subproject b008f2a0ffa1797943c3d08c3b3eee31229a56d +Subproject 28a0a193549a9b778a14fade0219b9daa0e7c5d diff --git a/pyca-cryptography b/pyca-cryptography -Subproject 09403100de2f6f1cdd0d484dcb8e620f1c335c8 +Subproject e09cd90f77a31832bdde1d3652c115be282cced diff --git a/test/ossl_shim/include/openssl/base.h b/test/ossl_shim/include/openssl/base.h index 92e3648e1c..84918289c0 100644 --- a/test/ossl_shim/include/openssl/base.h +++ b/test/ossl_shim/include/openssl/base.h @@ -10,6 +10,9 @@ #ifndef OSSL_TEST_SHIM_INCLUDE_OPENSSL_BASE_H #define OSSL_TEST_SHIM_INCLUDE_OPENSSL_BASE_H +/* Needed for DH functions */ +#include "internal/deprecated.h" + /* Needed for BORINGSSL_MAKE_DELETER */ # include <openssl/bio.h> # include <openssl/evp.h> diff --git a/test/recipes/95-test_external_krb5.t b/test/recipes/95-test_external_krb5.t index ad262da2d9..9d6824cb6f 100644 --- a/test/recipes/95-test_external_krb5.t +++ b/test/recipes/95-test_external_krb5.t @@ -17,7 +17,7 @@ setup("test_external_krb5"); plan skip_all => "No external tests in this configuration" if disabled("external-tests"); plan skip_all => "krb5 not available" - if ! -f srctop_file("krb5", "data.txt"); + if ! -f srctop_file("krb5", "src", "configure.in"); plan tests => 1; |