1 # This file is part of flex.
3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions
7 # 1. Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer.
9 # 2. Redistributions in binary form must reproduce the above copyright
10 # notice, this list of conditions and the following disclaimer in the
11 # documentation and/or other materials provided with the distribution.
13 # Neither the name of the University nor the names of its contributors
14 # may be used to endorse or promote products derived from this software
15 # without specific prior written permission.
17 # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
18 # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
19 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
25 dist_noinst_SCRIPTS = \
29 test-concatenated-options \
41 test-multiple-scanners-nr \
42 test-multiple-scanners-r \
46 test-c++-multiple-scanners \
48 test-posixly-correct \
56 test-lineno-trailing \
64 test-include-by-buffer \
65 test-include-by-push \
66 test-include-by-reentrant \
79 test-concatenated-options \
91 test-multiple-scanners-nr \
92 test-multiple-scanners-r \
96 test-c++-multiple-scanners \
98 test-posixly-correct \
106 test-lineno-trailing \
112 test-include-by-buffer \
113 test-include-by-push \
114 test-include-by-reentrant \
127 # clean up before running the test suite so we dont test old builds of test code
132 for dir in $(SUBDIRS) ; do \
133 echo Executing test "$$dir" ; \
134 ( cd "$$dir" && $(MAKE) test > OUTPUT 2>&1 ) ; \
136 0 ) echo Test "$$dir" succeeded.; \
139 * ) echo Test "$$dir" FAILED. See "$$dir"/OUTPUT for details. ; \
145 echo Tests succeeded: `echo @ECHO_N@ "$$NOK@ECHO_C@"|wc -c`; \
146 echo Tests FAILED: `echo @ECHO_N@ "$$NFAIL@ECHO_C@"|wc -c` ; \