Name
Date
Size
#Lines
LOC

..--

Makefile.amH A D23-Dec-201815.7 KiB508381

Makefile.inH A D23-Dec-2018124.9 KiB3,2692,934

READMEH A D23-Dec-20182.3 KiB5942

alloc_extra.lH A D02-Jan-20172.8 KiB12163

alloc_extra.txtH A D09-Jan-201636.7 KiB796625

array_nr.lH A D02-Jan-20171.3 KiB5621

array_nr.txtH A D09-Jan-201654 32

array_r.lH A D02-Jan-20171.4 KiB6324

array_r.txtH A D09-Jan-201654 32

basic_nr.lH A D02-Jan-20171.7 KiB6526

basic_nr.txtH A D09-Jan-201658 64

basic_r.lH A D02-Jan-20171.8 KiB6930

basic_r.txtH A D09-Jan-201657 54

bison_nr.txtH A D09-Jan-201696 54

bison_nr_main.cH A D02-Jan-20171.2 KiB4210

bison_nr_parser.yH A D02-Jan-20172.2 KiB9851

bison_nr_scanner.lH A D02-Jan-20171.7 KiB6331

bison_yylloc.txtH A D09-Jan-201696 54

bison_yylloc_main.cH A D09-Jan-20161.3 KiB4513

bison_yylloc_parser.yH A D02-Jan-20172.3 KiB10155

bison_yylloc_scanner.lH A D02-Jan-20171.8 KiB6633

bison_yylval.txtH A D09-Jan-201669 65

bison_yylval_main.cH A D09-Jan-20161.3 KiB4413

bison_yylval_parser.yH A D02-Jan-20172.1 KiB8544

bison_yylval_scanner.lH A D02-Jan-20172.2 KiB8247

c_cxx_nr.lllH A D02-Jan-20171.4 KiB5848

c_cxx_nr.txtH A D09-Jan-201654 32

c_cxx_r.lllH A D02-Jan-20171.6 KiB6252

c_cxx_r.txtH A D09-Jan-201654 32

ccl.lH A D02-Jan-20173.8 KiB9653

ccl.txtH A D09-Jan-20161.3 KiB2827

cxx_basic.llH A D09-Jan-20161.3 KiB5141

cxx_basic.txtH A D09-Jan-201654 32

cxx_multiple_scanners.txtH A D09-Jan-201615 21

cxx_multiple_scanners_1.llH A D09-Jan-20161.3 KiB4537

cxx_multiple_scanners_2.llH A D09-Jan-20161.4 KiB4942

cxx_multiple_scanners_main.ccH A D09-Jan-20161.5 KiB5725

cxx_restart.llH A D02-Jan-20171.3 KiB5242

cxx_restart.txtH A D02-Jan-201754 32

cxx_yywrap.llH A D09-Jan-20161.7 KiB7158

cxx_yywrap.txtH A D09-Jan-201654 32

debug_nr.lH A D02-Jan-20171.3 KiB5323

debug_nr.txtH A D09-Jan-201688 32

debug_r.lH A D02-Jan-20171.5 KiB6027

debug_r.txtH A D09-Jan-201688 32

extended.lH A D02-Jan-20171.8 KiB7435

extended.txtH A D09-Jan-201632 32

header_nr.txtH A D09-Jan-201661 42

header_nr_main.cH A D09-Jan-20161.2 KiB4112

header_nr_scanner.lH A D09-Jan-20161.2 KiB4311

header_r.txtH A D09-Jan-201661 42

header_r_main.cH A D09-Jan-20161.9 KiB6832

header_r_scanner.lH A D09-Jan-20161.3 KiB4712

include_by_buffer.direct.lH A D02-Jan-20172.6 KiB11071

include_by_buffer.direct.txtH A D09-Jan-2016124 43

include_by_buffer.direct_2.txtH A D09-Jan-2016128 43

include_by_buffer.direct_3.txtH A D09-Jan-201686 32

include_by_push.direct.lH A D02-Jan-20172.4 KiB10061

include_by_push.direct.txtH A D09-Jan-2016118 43

include_by_push.direct_2.txtH A D09-Jan-2016122 43

include_by_push.direct_3.txtH A D09-Jan-201682 32

include_by_reentrant.direct.lH A D02-Jan-20172.5 KiB10767

include_by_reentrant.direct.txtH A D09-Jan-2016135 43

include_by_reentrant.direct_2.txtH A D09-Jan-2016139 43

include_by_reentrant.direct_3.txtH A D09-Jan-201694 32

lineno_nr.lH A D02-Jan-20172.2 KiB9545

lineno_nr.one.txtH A D09-Jan-2016299 2015

lineno_r.lH A D02-Jan-20172.3 KiB9848

lineno_r.one.txtH A D09-Jan-2016299 2015

lineno_trailing.lH A D02-Jan-20172.2 KiB8842

lineno_trailing.one.txtH A D09-Jan-2016179 1410

mem_nr.lH A D02-Jan-20174.4 KiB180120

mem_nr.txtH A D09-Jan-20162.7 KiB2620

mem_r.lH A D02-Jan-20174.7 KiB188125

mem_r.txtH A D09-Jan-20162.7 KiB2620

multiple_scanners_nr_1.lH A D09-Jan-20161.4 KiB5120

multiple_scanners_nr_2.lH A D09-Jan-20161.4 KiB5020

multiple_scanners_nr_main.cH A D09-Jan-20161.5 KiB5224

multiple_scanners_r_1.lH A D09-Jan-20161.5 KiB5120

multiple_scanners_r_2.lH A D09-Jan-20161.5 KiB5020

multiple_scanners_r_main.cH A D02-Jan-20171.8 KiB6530

no_bison_stub.cH A D23-Dec-20181.4 KiB4011

options.cnH A D23-Dec-2018112 61

posix.lH A D02-Jan-20172 KiB8035

posixly_correct.lH A D02-Jan-20172 KiB8035

prefix_nr.lH A D02-Jan-20172 KiB7639

prefix_nr.txtH A D09-Jan-201613 21

prefix_r.lH A D02-Jan-20172.5 KiB8447

prefix_r.txtH A D09-Jan-201613 21

pthread.lH A D23-Dec-20185.8 KiB209123

pthread_1.txtH A D09-Jan-201668.2 KiB848847

pthread_2.txtH A D09-Jan-201668.2 KiB848847

pthread_3.txtH A D09-Jan-201668.2 KiB848847

pthread_4.txtH A D09-Jan-201668.2 KiB848847

pthread_5.txtH A D09-Jan-201668.2 KiB848847

quote_in_comment.lH A D02-Jan-2017192 1715

quote_in_comment.txtH A D02-Jan-20175 21

quotes.lH A D02-Jan-20174.1 KiB13258

quotes.txtH A D09-Jan-201654 32

reject.l4H A D02-Jan-20172.1 KiB8367

reject.txtH A D09-Jan-201654 32

rescan_nr.direct.lH A D02-Jan-20171.7 KiB7339

rescan_nr.direct.txtH A D09-Jan-201654 32

rescan_r.direct.lH A D02-Jan-20172.3 KiB9856

rescan_r.direct.txtH A D09-Jan-201654 32

string_nr.lH A D02-Jan-20172.6 KiB9750

string_r.lH A D02-Jan-20172.9 KiB10457

tableopts.amH A D23-Dec-201812.2 KiB334200

tableopts.l4H A D02-Jan-20172.1 KiB8570

tableopts.shH A D23-Dec-20181.5 KiB4832

tableopts.txtH A D09-Jan-201668 32

testwrapper-direct.shH A D23-Dec-2018400 2112

testwrapper.shH A D23-Dec-20181.4 KiB5945

top.lH A D09-Jan-20161.3 KiB5418

top.txtH A D09-Jan-201661 42

top_main.cH A D09-Jan-20161.9 KiB6832

yyextra.lH A D02-Jan-20173.1 KiB12268

yyextra.txtH A D09-Jan-201636.7 KiB796625

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