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 \
63 test-include-by-buffer \
64 test-include-by-push \
65 test-include-by-reentrant \
78 test-concatenated-options \
90 test-multiple-scanners-nr \
91 test-multiple-scanners-r \
95 test-c++-multiple-scanners \
97 test-posixly-correct \
110 test-include-by-buffer \
111 test-include-by-push \
112 test-include-by-reentrant \
125 # clean up before running the test suite so we dont test old builds of test code
130 for dir in $(SUBDIRS) ; do \
131 echo Executing test "$$dir" ; \
132 ( cd "$$dir" && $(MAKE) test > OUTPUT 2>&1 ) ; \
134 0 ) echo Test "$$dir" succeeded.; \
137 * ) echo Test "$$dir" FAILED. See "$$dir"/OUTPUT for details. ; \
143 echo Tests succeeded: `echo @ECHO_N@ "$$NOK@ECHO_C@"|wc -c`; \
144 echo Tests FAILED: `echo @ECHO_N@ "$$NFAIL@ECHO_C@"|wc -c` ; \