Changeset 0f5c9e1 in mod_gnutls


Ignore:
Timestamp:
Jan 21, 2015, 7:44:15 AM (4 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, upstream
Children:
859667d
Parents:
c4ba972
Message:

Let Automake handle the test directory

Instead of running the test script run_tests.sh in the top level
directory, move it to t/ and let make check call it there. Using
Automake in t/ requires moving the hand written makefile that manages
the actual tests out of the way. The result is that all test related
files are kept in t/, including test results.

This will make it easier to replace the monolithic test script
run_tests.sh with individual test cases managed by make.

Files:
2 added
1 deleted
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • Makefile.am

    rc4ba972 r0f5c9e1  
    88                NOTICE LICENSE autogen.sh
    99
    10 SUBDIRS = src
     10SUBDIRS = src t
    1111ACLOCAL_AMFLAGS = -I m4
    12 TESTS = run_tests.sh
  • configure.ac

    rc4ba972 r0f5c9e1  
    8282AC_SUBST(MODULE_LIBS)
    8383
    84 AC_CONFIG_FILES([Makefile src/Makefile include/mod_gnutls.h])
     84AC_CONFIG_FILES([Makefile src/Makefile t/Makefile include/mod_gnutls.h])
    8585AC_OUTPUT
    8686
  • t/README

    rc4ba972 r0f5c9e1  
    1111=================
    1212
    13 from the top level of the source, just run:
     13from the top level of the source, or from t/ (where this README is),
     14just run:
    1415
    1516 make check
    1617
    17 from t/ (where this README is), just run:
     18from t/ you can also run specific tests (identified by number) with:
    1819
    19  make
    20 
    21 also from t/ you can also run specific tests (identified by number)
    22 with:
    23 
    24  make t-3
     20 make -f TestMakefile t-3
    2521
    2622This should be handy when you're just trying to experiment with a new
Note: See TracChangeset for help on using the changeset viewer.