Skip to content

libtasn1: add run_tests.sh #13622

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

libtasn1: add run_tests.sh #13622

wants to merge 1 commit into from

Conversation

vitaliset
Copy link
Contributor

Adds run_tests.sh to the libtasn1 project.

run_tests.sh is used as part of Chronos with cached builds: https://github.com/google/oss-fuzz/tree/master/infra/experimental/chronos#check-tests

Last few lines of output of ./infra/experimental/chronos/check_tests.sh libtasn1 c++:

make: Entering directory '/src/libtasn1/tests'
make  check-am
make[1]: Entering directory '/src/libtasn1/tests'
make  Test_parser Test_tree Test_encoding Test_indefinite Test_errors Test_simple Test_overflow Test_strings Test_choice Test_encdec copynode coding-decoding2 strict-der Test_choice_ocsp ocsp-basic-response octet-string coding-long-oid object-id-decoding spc_pe_image_data setof CVE-2018-1000654 reproducers object-id-encoding version \
  crlf.sh benchmark.sh threadsafety.sh decoding.sh decoding-invalid-x509.sh decoding-invalid-pkcs7.sh coding.sh parser.sh
make[2]: Entering directory '/src/libtasn1/tests'
make[2]: 'Test_parser' is up to date.
make[2]: 'Test_tree' is up to date.
make[2]: 'Test_encoding' is up to date.
make[2]: 'Test_indefinite' is up to date.
make[2]: 'Test_errors' is up to date.
make[2]: 'Test_simple' is up to date.
make[2]: 'Test_overflow' is up to date.
make[2]: 'Test_strings' is up to date.
make[2]: 'Test_choice' is up to date.
make[2]: 'Test_encdec' is up to date.
make[2]: 'copynode' is up to date.
make[2]: 'coding-decoding2' is up to date.
make[2]: 'strict-der' is up to date.
make[2]: 'Test_choice_ocsp' is up to date.
make[2]: 'ocsp-basic-response' is up to date.
make[2]: 'octet-string' is up to date.
make[2]: 'coding-long-oid' is up to date.
make[2]: 'object-id-decoding' is up to date.
make[2]: 'spc_pe_image_data' is up to date.
make[2]: 'setof' is up to date.
make[2]: 'CVE-2018-1000654' is up to date.
make[2]: 'reproducers' is up to date.
make[2]: 'object-id-encoding' is up to date.
make[2]: 'version' is up to date.
make[2]: Nothing to be done for 'crlf.sh'.
make[2]: Nothing to be done for 'benchmark.sh'.
make[2]: Nothing to be done for 'threadsafety.sh'.
make[2]: Nothing to be done for 'decoding.sh'.
make[2]: Nothing to be done for 'decoding-invalid-x509.sh'.
make[2]: Nothing to be done for 'decoding-invalid-pkcs7.sh'.
make[2]: Nothing to be done for 'coding.sh'.
make[2]: Nothing to be done for 'parser.sh'.
make[2]: Leaving directory '/src/libtasn1/tests'
make  check-TESTS
make[2]: Entering directory '/src/libtasn1/tests'
make[3]: Entering directory '/src/libtasn1/tests'
PASS: Test_parser
PASS: Test_tree
PASS: Test_encoding
PASS: Test_indefinite
PASS: Test_errors
PASS: Test_simple
PASS: Test_overflow
PASS: Test_strings
PASS: Test_choice
PASS: Test_encdec
PASS: copynode
PASS: coding-decoding2
PASS: strict-der
PASS: Test_choice_ocsp
PASS: ocsp-basic-response
PASS: octet-string
PASS: coding-long-oid
PASS: object-id-decoding
PASS: spc_pe_image_data
PASS: setof
PASS: CVE-2018-1000654
PASS: reproducers
PASS: object-id-encoding
PASS: version
PASS: crlf.sh
PASS: threadsafety.sh
PASS: decoding.sh
PASS: decoding-invalid-x509.sh
PASS: decoding-invalid-pkcs7.sh
PASS: coding.sh
PASS: parser.sh
============================================================================
Testsuite summary for GNU Libtasn1 4.20.0.11-c7b8
============================================================================
# TOTAL: 31
# PASS:  31
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[3]: Leaving directory '/src/libtasn1/tests'
make[2]: Leaving directory '/src/libtasn1/tests'
make[1]: Leaving directory '/src/libtasn1/tests'
make: Leaving directory '/src/libtasn1/tests'

Copy link

vitaliset is a new contributor to projects/libtasn1. The PR must be approved by known contributors before it can be merged. The past contributors are: nmav, inferno-chromium, cvediver, rockdaboot, Dor1s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant