Deleted Added
full compact
Makefile.am (273562) Makefile.am (274405)
1#
2# $Id$
3#
4# Copyright 2014, Juniper Networks, Inc.
5# All rights reserved.
6# This SOFTWARE is licensed under the LICENSE provided in the
7# ../Copyright file. By downloading, installing, copying, or otherwise
8# using the SOFTWARE, you agree to be bound by the terms of that

--- 16 unchanged lines hidden (view full) ---

25test_03_test_SOURCES = test_03.c
26test_04_test_SOURCES = test_04.c
27test_05_test_SOURCES = test_05.c
28test_06_test_SOURCES = test_06.c
29test_07_test_SOURCES = test_07.c
30
31# TEST_CASES := $(shell cd ${srcdir} ; echo *.c )
32
1#
2# $Id$
3#
4# Copyright 2014, Juniper Networks, Inc.
5# All rights reserved.
6# This SOFTWARE is licensed under the LICENSE provided in the
7# ../Copyright file. By downloading, installing, copying, or otherwise
8# using the SOFTWARE, you agree to be bound by the terms of that

--- 16 unchanged lines hidden (view full) ---

25test_03_test_SOURCES = test_03.c
26test_04_test_SOURCES = test_04.c
27test_05_test_SOURCES = test_05.c
28test_06_test_SOURCES = test_06.c
29test_07_test_SOURCES = test_07.c
30
31# TEST_CASES := $(shell cd ${srcdir} ; echo *.c )
32
33bin_PROGRAMS = ${TEST_CASES:.c=.test}
33noinst_PROGRAMS = ${TEST_CASES:.c=.test}
34
35LDADD = \
36 ${top_builddir}/libxo/libxo.la
37
38EXTRA_DIST = \
39 ${TEST_CASES} \
40 ${addprefix saved/, ${TEST_CASES:.c=.T.err}} \
41 ${addprefix saved/, ${TEST_CASES:.c=.T.out}} \

--- 19 unchanged lines hidden (view full) ---

61valgrind:
62 @echo '## Running the regression tests under Valgrind'
63 ${MAKE} CHECKER='valgrind -q' tests
64
65#TEST_TRACE = set -x ;
66
67TEST_ONE = \
68 LIBXO_OPTIONS=:W$$fmt \
34
35LDADD = \
36 ${top_builddir}/libxo/libxo.la
37
38EXTRA_DIST = \
39 ${TEST_CASES} \
40 ${addprefix saved/, ${TEST_CASES:.c=.T.err}} \
41 ${addprefix saved/, ${TEST_CASES:.c=.T.out}} \

--- 19 unchanged lines hidden (view full) ---

61valgrind:
62 @echo '## Running the regression tests under Valgrind'
63 ${MAKE} CHECKER='valgrind -q' tests
64
65#TEST_TRACE = set -x ;
66
67TEST_ONE = \
68 LIBXO_OPTIONS=:W$$fmt \
69 ${CHECKER} $$base.test ${TEST_OPTS} \
69 ${CHECKER} ./$$base.test ${TEST_OPTS} \
70 > out/$$base.$$fmt.out 2> out/$$base.$$fmt.err ; \
71 ${DIFF} -Nu ${srcdir}/saved/$$base.$$fmt.out out/$$base.$$fmt.out ${S2O} ; \
72 ${DIFF} -Nu ${srcdir}/saved/$$base.$$fmt.err out/$$base.$$fmt.err ${S2O}
73
74TEST_FORMATS = T XP JP HP X J H HIPx
75
76test tests: ${bin_PROGRAMS}
77 @${MKDIR} -p out

--- 30 unchanged lines hidden ---
70 > out/$$base.$$fmt.out 2> out/$$base.$$fmt.err ; \
71 ${DIFF} -Nu ${srcdir}/saved/$$base.$$fmt.out out/$$base.$$fmt.out ${S2O} ; \
72 ${DIFF} -Nu ${srcdir}/saved/$$base.$$fmt.err out/$$base.$$fmt.err ${S2O}
73
74TEST_FORMATS = T XP JP HP X J H HIPx
75
76test tests: ${bin_PROGRAMS}
77 @${MKDIR} -p out

--- 30 unchanged lines hidden ---