Changeset 478767a in mod_gnutls


Ignore:
Timestamp:
Jan 9, 2020, 3:26:32 PM (3 years ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, main, master, proxy-ticket
Children:
0da2c5d
Parents:
ff039b1
Message:

Generate test scripts instead of carrying static files

Location:
test
Files:
1 added
35 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • test/.gitignore

    rff039b1 r478767a  
    3636
    3737# test programs
     38test-*.bash
    3839gen_ocsp_index
    3940pgpcrc
  • test/Makefile.am

    rff039b1 r478767a  
    11SUBDIRS = tests
    22
    3 test_scripts = doctest-mgstest.py \
    4         test-00_basic.bash \
     3# Generate the test scripts
     4test-%.bash: test-template.bash.in | tests/%/
     5        testname="$(*)"; sed s/@NUMBER@/$${testname%%_*}/ < $< > $@
     6        chmod a+x $@
     7
     8check_SCRIPTS = test-00_basic.bash \
    59        test-01_serverwide_priorities.bash \
    610        test-02_cache_in_vhost.bash \
     
    1822        test-14_resume_session.bash
    1923if USE_MSVA
    20 test_scripts += test-15_basic_msva.bash
    21 endif
    22 test_scripts += test-16_view-status.bash \
     24check_SCRIPTS += test-15_basic_msva.bash
     25endif
     26check_SCRIPTS += test-16_view-status.bash \
    2327        test-17_cgi_vars_large_cert.bash \
    2428        test-18_client_verification_wrong_cert.bash \
     
    4044        test-34_TLS_reverse_proxy_h2.bash
    4145
     46MOSTLYCLEANFILES = $(check_SCRIPTS)
     47dist_check_SCRIPTS = netns_py.bash test-template.bash.in
     48
    4249TEST_EXTENSIONS = .bash .py
    4350PY_LOG_COMPILER = $(PYTHON)
    44 TESTS = $(test_scripts)
    45 
    46 dist_check_SCRIPTS = netns_py.bash $(test_scripts)
     51TESTS = doctest-mgstest.py $(check_SCRIPTS)
    4752
    4853check_PROGRAMS = pgpcrc
     
    106111check_DATA = $(tokens) authority/server/crl.pem
    107112
    108 MOSTLYCLEANFILES = cache/* logs/* outputs/* authority/server/crl.pem
     113MOSTLYCLEANFILES += cache/* logs/* outputs/* authority/server/crl.pem
    109114
    110115cert_templates = authority/template.in authority/client/template.in \
Note: See TracChangeset for help on using the changeset viewer.