![]() |
Welcome to ftp.vim.org,
Hosted by ftp.nluug.nl Current directory: /os/NetBSD/NetBSD-current/src/external/bsd/flex/dist/tests/ |
Contents of README:This file describes the flex test suite. * WHO SHOULD USE THE TEST SUITE? The test suite is intended to be used by flex developers, i.e., anyone hacking the flex distribution. If you are simply installing flex, then you can ignore this directory and its contents. * STRUCTURE OF THE TEST SUITE The testsuite consists of several tests. Each test is centered around a scanner known to work with the most recent version of flex. In general, after you modify your copy of the flex distribution, you should re-run the test suite. Some of the tests may require certain tools to be available (e.g., bison, diff). If any test returns an error or generates an error message, then your modifications *may* have broken a feature of flex. At a minimum, you'll want to investigate the failure and determine if it's truly significant. * HOW TO RUN THE TEST SUITE To build and execute all tests from the top level of the flex source tree: $ make check To build and execute a single test: $ cd tests/ # from the top level of the flex tree. $ make testname.log where "testname" is the name of the test. This is an automake-ism that will create (or re-create, if need be), a log of the particular test run that you're working on. * HOW TO ADD A NEW TEST TO THE TEST SUITE ** List your test in the TESTS variable in Makefile.am in this directory. Note that due to the large number of tests, we use variables to group similar tests together. This also helps with handling the automake test suite requirements. Hopefully your test can be listed in SIMPLE_TESTS. You'll need to add the appropriate automake _SOURCES variable as well. If you're unsure, then consult the automake manual, paying attention to the parallel test harness section. ** On success, your test should return zero. ** On error, your test should return 1 (one) and print a message to stderr, which will have been redirected to the log file created by the automake test suite harness. ** If your test is skipped (e.g., because bison was not found), then the test should return 77 (seventy-seven). This is the exit status that would be recognized by automake's "test-driver" as _skipped_. ** Once your work is done, submit a patch via the flex development mailing list, the github pull request mechanism or some other suitable means. |
Name Last modified Size
Parent Directory -
CVS/ 16-Aug-2024 05:01 -
Makefile.am 24-Dec-2018 04:00 16K
Makefile.in 24-Dec-2018 04:00 125K
README 24-Dec-2018 04:00 2.3K
alloc_extra.l 02-Jan-2017 17:26 2.8K
alloc_extra.txt 09-Jan-2016 16:43 37K
array_nr.l 02-Jan-2017 17:26 1.3K
array_nr.txt 09-Jan-2016 16:43 54
array_r.l 02-Jan-2017 17:26 1.4K
array_r.txt 09-Jan-2016 16:43 54
basic_nr.l 02-Jan-2017 17:26 1.7K
basic_nr.txt 09-Jan-2016 16:43 58
basic_r.l 02-Jan-2017 17:26 1.8K
basic_r.txt 09-Jan-2016 16:43 57
bison_nr.txt 09-Jan-2016 16:43 96
bison_nr_main.c 02-Jan-2017 17:26 1.2K
bison_nr_parser.y 02-Jan-2017 17:26 2.2K
bison_nr_scanner.l 02-Jan-2017 17:26 1.7K
bison_yylloc.txt 09-Jan-2016 16:43 96
bison_yylloc_main.c 09-Jan-2016 16:43 1.3K
bison_yylloc_parser.y 02-Jan-2017 17:26 2.3K
bison_yylloc_scanner.l 02-Jan-2017 17:26 1.8K
bison_yylval.txt 09-Jan-2016 16:43 69
bison_yylval_main.c 09-Jan-2016 16:43 1.3K
bison_yylval_parser.y 02-Jan-2017 17:26 2.1K
bison_yylval_scanner.l 02-Jan-2017 17:26 2.2K
c_cxx_nr.lll 02-Jan-2017 17:26 1.4K
c_cxx_nr.txt 09-Jan-2016 16:43 54
c_cxx_r.lll 02-Jan-2017 17:26 1.6K
c_cxx_r.txt 09-Jan-2016 16:43 54
ccl.l 02-Jan-2017 17:26 3.8K
ccl.txt 09-Jan-2016 16:43 1.3K
cxx_basic.ll 09-Jan-2016 16:43 1.3K
cxx_basic.txt 09-Jan-2016 16:43 54
cxx_multiple_scanners.txt 09-Jan-2016 16:43 15
cxx_multiple_scanners_1.ll 09-Jan-2016 16:43 1.3K
cxx_multiple_scanners_2.ll 09-Jan-2016 16:43 1.4K
cxx_multiple_scanners_main.cc 09-Jan-2016 16:43 1.5K
cxx_restart.ll 02-Jan-2017 17:26 1.3K
cxx_restart.txt 02-Jan-2017 17:26 54
cxx_yywrap.ll 09-Jan-2016 16:43 1.7K
cxx_yywrap.txt 09-Jan-2016 16:43 54
debug_nr.l 02-Jan-2017 17:26 1.3K
debug_nr.txt 09-Jan-2016 16:43 88
debug_r.l 02-Jan-2017 17:26 1.5K
debug_r.txt 09-Jan-2016 16:43 88
extended.l 02-Jan-2017 17:26 1.8K
extended.txt 09-Jan-2016 16:43 32
header_nr.txt 09-Jan-2016 16:43 61
header_nr_main.c 09-Jan-2016 16:43 1.2K
header_nr_scanner.l 09-Jan-2016 16:43 1.2K
header_r.txt 09-Jan-2016 16:43 61
header_r_main.c 09-Jan-2016 16:43 1.9K
header_r_scanner.l 09-Jan-2016 16:43 1.3K
include_by_buffer.direct.l 02-Jan-2017 17:26 2.6K
include_by_buffer.direct.txt 09-Jan-2016 16:43 124
include_by_buffer.direct_2.txt 09-Jan-2016 16:43 128
include_by_buffer.direct_3.txt 09-Jan-2016 16:43 86
include_by_push.direct.l 02-Jan-2017 17:26 2.4K
include_by_push.direct.txt 09-Jan-2016 16:43 118
include_by_push.direct_2.txt 09-Jan-2016 16:43 122
include_by_push.direct_3.txt 09-Jan-2016 16:43 82
include_by_reentrant.direct.l 02-Jan-2017 17:26 2.5K
include_by_reentrant.direct.txt 09-Jan-2016 16:43 135
include_by_reentrant.direct_2.txt 09-Jan-2016 16:43 139
include_by_reentrant.direct_3.txt 09-Jan-2016 16:43 94
lineno_nr.l 02-Jan-2017 17:26 2.2K
lineno_nr.one.txt 09-Jan-2016 16:43 299
lineno_r.l 02-Jan-2017 17:26 2.3K
lineno_r.one.txt 09-Jan-2016 16:43 299
lineno_trailing.l 02-Jan-2017 17:26 2.2K
lineno_trailing.one.txt 09-Jan-2016 16:43 179
mem_nr.l 02-Jan-2017 17:26 4.4K
mem_nr.txt 09-Jan-2016 16:43 2.7K
mem_r.l 02-Jan-2017 17:26 4.7K
mem_r.txt 09-Jan-2016 16:43 2.7K
multiple_scanners_nr_1.l 09-Jan-2016 16:43 1.4K
multiple_scanners_nr_2.l 09-Jan-2016 16:43 1.4K
multiple_scanners_nr_main.c 09-Jan-2016 16:43 1.5K
multiple_scanners_r_1.l 09-Jan-2016 16:43 1.5K
multiple_scanners_r_2.l 09-Jan-2016 16:43 1.5K
multiple_scanners_r_main.c 02-Jan-2017 17:26 1.8K
no_bison_stub.c 23-Dec-2018 16:57 1.4K
options.cn 24-Dec-2018 04:00 112
posix.l 02-Jan-2017 17:26 2.0K
posixly_correct.l 02-Jan-2017 17:26 2.0K
prefix_nr.l 02-Jan-2017 17:26 2.0K
prefix_nr.txt 09-Jan-2016 16:43 13
prefix_r.l 02-Jan-2017 17:26 2.5K
prefix_r.txt 09-Jan-2016 16:43 13
pthread.l 24-Dec-2018 04:00 5.8K
pthread_1.txt 09-Jan-2016 16:43 68K
pthread_2.txt 09-Jan-2016 16:43 68K
pthread_3.txt 09-Jan-2016 16:43 68K
pthread_4.txt 09-Jan-2016 16:43 68K
pthread_5.txt 09-Jan-2016 16:43 68K
quote_in_comment.l 02-Jan-2017 17:26 192
quote_in_comment.txt 02-Jan-2017 17:26 5
quotes.l 02-Jan-2017 17:26 4.1K
quotes.txt 09-Jan-2016 16:43 54
reject.l4 02-Jan-2017 17:26 2.1K
reject.txt 09-Jan-2016 16:43 54
rescan_nr.direct.l 02-Jan-2017 17:26 1.7K
rescan_nr.direct.txt 09-Jan-2016 16:43 54
rescan_r.direct.l 02-Jan-2017 17:26 2.3K
rescan_r.direct.txt 09-Jan-2016 16:43 54
string_nr.l 02-Jan-2017 17:26 2.6K
string_r.l 02-Jan-2017 17:26 2.9K
tableopts.am 24-Dec-2018 04:00 12K
tableopts.l4 02-Jan-2017 17:26 2.1K
tableopts.sh 24-Dec-2018 04:00 1.5K
tableopts.txt 09-Jan-2016 16:43 68
testwrapper-direct.sh 24-Dec-2018 04:00 400
testwrapper.sh 24-Dec-2018 04:00 1.4K
top.l 09-Jan-2016 16:43 1.3K
top.txt 09-Jan-2016 16:43 61
top_main.c 09-Jan-2016 16:43 1.9K
yyextra.l 02-Jan-2017 17:26 3.1K
yyextra.txt 09-Jan-2016 16:43 37K
NLUUG - Open Systems. Open Standards
Become a member
and get discounts on conferences and more, see the NLUUG website!