Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
Makefile.am | H A D | 03-May-2017 | 15.7 KiB | 508 | 381 | |
Makefile.in | H A D | 06-May-2017 | 124.9 KiB | 3,269 | 2,934 | |
README | H A D | 24-Jan-2017 | 2.3 KiB | 59 | 42 | |
alloc_extra.l | H A D | 21-Oct-2016 | 2.8 KiB | 121 | 63 | |
array_nr.l | H A D | 21-Oct-2016 | 1.3 KiB | 56 | 21 | |
array_r.l | H A D | 12-Nov-2016 | 1.4 KiB | 63 | 24 | |
basic_nr.l | H A D | 21-Oct-2016 | 1.7 KiB | 65 | 26 | |
basic_r.l | H A D | 21-Oct-2016 | 1.8 KiB | 69 | 30 | |
bison_nr_main.c | H A D | 21-Oct-2016 | 1.2 KiB | 42 | 10 | |
bison_nr_parser.y | H A D | 21-Oct-2016 | 2.2 KiB | 98 | 51 | |
bison_nr_scanner.l | H A D | 21-Oct-2016 | 1.7 KiB | 63 | 31 | |
bison_yylloc_main.c | H A D | 21-Oct-2016 | 1.3 KiB | 45 | 13 | |
bison_yylloc_parser.y | H A D | 21-Oct-2016 | 2.3 KiB | 101 | 55 | |
bison_yylloc_scanner.l | H A D | 21-Oct-2016 | 1.8 KiB | 66 | 33 | |
bison_yylval_main.c | H A D | 21-Oct-2016 | 1.3 KiB | 44 | 13 | |
bison_yylval_parser.y | H A D | 21-Oct-2016 | 2.1 KiB | 85 | 44 | |
bison_yylval_scanner.l | H A D | 21-Oct-2016 | 2.2 KiB | 82 | 47 | |
c_cxx_nr.lll | H A D | 21-Oct-2016 | 1.4 KiB | 58 | 48 | |
c_cxx_r.lll | H A D | 21-Oct-2016 | 1.6 KiB | 62 | 52 | |
ccl.l | H A D | 21-Oct-2016 | 3.8 KiB | 96 | 53 | |
cxx_basic.ll | H A D | 21-Oct-2016 | 1.3 KiB | 51 | 41 | |
cxx_multiple_scanners_1.ll | H A D | 21-Oct-2016 | 1.3 KiB | 45 | 37 | |
cxx_multiple_scanners_2.ll | H A D | 21-Oct-2016 | 1.4 KiB | 49 | 42 | |
cxx_multiple_scanners_main.cc | H A D | 21-Oct-2016 | 1.5 KiB | 57 | 25 | |
cxx_restart.ll | H A D | 21-Oct-2016 | 1.3 KiB | 52 | 42 | |
cxx_yywrap.ll | H A D | 21-Oct-2016 | 1.7 KiB | 71 | 58 | |
debug_nr.l | H A D | 21-Oct-2016 | 1.3 KiB | 53 | 23 | |
debug_r.l | H A D | 21-Oct-2016 | 1.5 KiB | 60 | 27 | |
extended.l | H A D | 21-Oct-2016 | 1.8 KiB | 74 | 35 | |
header_nr_main.c | H A D | 21-Oct-2016 | 1.2 KiB | 41 | 12 | |
header_nr_scanner.l | H A D | 21-Oct-2016 | 1.2 KiB | 43 | 11 | |
header_r_main.c | H A D | 21-Oct-2016 | 1.9 KiB | 68 | 32 | |
header_r_scanner.l | H A D | 21-Oct-2016 | 1.3 KiB | 47 | 12 | |
include_by_buffer.direct.l | H A D | 21-Oct-2016 | 2.6 KiB | 110 | 71 | |
include_by_push.direct.l | H A D | 21-Oct-2016 | 2.4 KiB | 100 | 61 | |
include_by_reentrant.direct.l | H A D | 21-Oct-2016 | 2.5 KiB | 107 | 67 | |
lineno_nr.l | H A D | 21-Oct-2016 | 2.2 KiB | 95 | 45 | |
lineno_r.l | H A D | 21-Oct-2016 | 2.3 KiB | 98 | 48 | |
lineno_trailing.l | H A D | 21-Oct-2016 | 2.2 KiB | 88 | 42 | |
mem_nr.l | H A D | 21-Oct-2016 | 4.4 KiB | 180 | 120 | |
mem_r.l | H A D | 21-Oct-2016 | 4.7 KiB | 188 | 125 | |
multiple_scanners_nr_1.l | H A D | 21-Oct-2016 | 1.4 KiB | 51 | 20 | |
multiple_scanners_nr_2.l | H A D | 21-Oct-2016 | 1.4 KiB | 50 | 20 | |
multiple_scanners_nr_main.c | H A D | 21-Oct-2016 | 1.5 KiB | 52 | 24 | |
multiple_scanners_r_1.l | H A D | 21-Oct-2016 | 1.5 KiB | 51 | 20 | |
multiple_scanners_r_2.l | H A D | 21-Oct-2016 | 1.5 KiB | 50 | 20 | |
multiple_scanners_r_main.c | H A D | 21-Oct-2016 | 1.8 KiB | 65 | 30 | |
no_bison_stub.c | H A D | 25-Jan-2017 | 1.4 KiB | 40 | 11 | |
options.cn | H A D | 18-Jan-2017 | 112 | 6 | 1 | |
posix.l | H A D | 21-Oct-2016 | 2 KiB | 80 | 35 | |
posixly_correct.l | H A D | 21-Oct-2016 | 2 KiB | 80 | 35 | |
prefix_nr.l | H A D | 21-Oct-2016 | 2 KiB | 76 | 39 | |
prefix_r.l | H A D | 21-Oct-2016 | 2.5 KiB | 84 | 47 | |
pthread.l | H A D | 23-Feb-2017 | 5.8 KiB | 209 | 123 | |
quote_in_comment.l | H A D | 08-Nov-2016 | 192 | 17 | 15 | |
quotes.l | H A D | 04-Nov-2016 | 4.1 KiB | 132 | 58 | |
reject.l4 | H A D | 21-Oct-2016 | 2.1 KiB | 83 | 67 | |
rescan_nr.direct.l | H A D | 21-Oct-2016 | 1.7 KiB | 73 | 39 | |
rescan_r.direct.l | H A D | 21-Oct-2016 | 2.3 KiB | 98 | 56 | |
string_nr.l | H A D | 21-Oct-2016 | 2.6 KiB | 97 | 50 | |
string_r.l | H A D | 21-Oct-2016 | 2.9 KiB | 104 | 57 | |
tableopts.am | H A D | 03-May-2017 | 12.2 KiB | 334 | 200 | |
tableopts.l4 | H A D | 21-Oct-2016 | 2.1 KiB | 85 | 70 | |
tableopts.sh | H A D | 03-May-2017 | 1.5 KiB | 48 | 32 | |
testwrapper-direct.sh | H A D | 18-Jan-2017 | 400 | 21 | 12 | |
testwrapper.sh | H A D | 18-Jan-2017 | 1.4 KiB | 59 | 45 | |
top.l | H A D | 21-Oct-2016 | 1.3 KiB | 54 | 18 | |
top_main.c | H A D | 21-Oct-2016 | 1.9 KiB | 68 | 32 | |
yyextra.l | H A D | 21-Oct-2016 | 3.1 KiB | 122 | 68 |
README
1This file describes the flex test suite. 2 3* WHO SHOULD USE THE TEST SUITE? 4 5The test suite is intended to be used by flex developers, i.e., anyone hacking 6the flex distribution. If you are simply installing flex, then you can ignore 7this directory and its contents. 8 9* STRUCTURE OF THE TEST SUITE 10 11The testsuite consists of several tests. Each test is centered around 12a scanner known to work with the most recent version of flex. In 13general, after you modify your copy of the flex distribution, you 14should re-run the test suite. Some of the tests may require certain 15tools to be available (e.g., bison, diff). If any test returns an 16error or generates an error message, then your modifications *may* 17have broken a feature of flex. At a minimum, you'll want to 18investigate the failure and determine if it's truly significant. 19 20* HOW TO RUN THE TEST SUITE 21 22To build and execute all tests from the top level of the flex source tree: 23 24 $ make check 25 26To build and execute a single test: 27 28 $ cd tests/ # from the top level of the flex tree. 29 $ make testname.log 30 31 where "testname" is the name of the test. This is an automake-ism 32 that will create (or re-create, if need be), a log of the particular 33 test run that you're working on. 34 35* HOW TO ADD A NEW TEST TO THE TEST SUITE 36 37** List your test in the TESTS variable in Makefile.am in this 38 directory. Note that due to the large number of tests, we use 39 variables to group similar tests together. This also helps with 40 handling the automake test suite requirements. Hopefully your test 41 can be listed in SIMPLE_TESTS. You'll need to add the appropriate 42 automake _SOURCES variable as well. If you're unsure, then consult 43 the automake manual, paying attention to the parallel test harness 44 section. 45 46** On success, your test should return zero. 47 48** On error, your test should return 1 (one) and print a message to 49stderr, which will have been redirected to the log file created by the 50automake test suite harness. 51 52** If your test is skipped (e.g., because bison was not found), then 53 the test should return 77 (seventy-seven). This is the exit status that 54 would be recognized by automake's "test-driver" as _skipped_. 55 56** Once your work is done, submit a patch via the flex development 57 mailing list, the github pull request mechanism or some other 58 suitable means. 59