• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..02-Aug-2016-

TEMPLATE/H02-Aug-2016-1,099793

test-alloc-extra/H02-Aug-2016-1,8981,443

test-array-nr/H02-Aug-2016-1,034777

test-array-r/H02-Aug-2016-1,032774

test-basic-nr/H02-Aug-2016-1,048784

test-basic-r/H02-Aug-2016-1,049788

test-bison-nr/H02-Aug-2016-1,195862

test-bison-yylloc/H02-Aug-2016-1,199867

test-bison-yylval/H02-Aug-2016-1,199871

test-c++-basic/H02-Aug-2016-1,021772

test-c++-multiple-scanners/H02-Aug-2016-1,141829

test-c++-yywrap/H02-Aug-2016-1,040789

test-c-cpp-nr/H02-Aug-2016-1,027772

test-c-cpp-r/H02-Aug-2016-1,031776

test-ccl/H02-Aug-2016-1,085829

test-concatenated-options/H02-Aug-2016-934716

test-debug-nr/H02-Aug-2016-1,019773

test-debug-r/H02-Aug-2016-1,026777

test-extended/H02-Aug-2016-1,038786

test-header-nr/H02-Aug-2016-1,071784

test-header-r/H02-Aug-2016-1,104805

test-include-by-buffer/H02-Aug-2016-1,092827

test-include-by-push/H02-Aug-2016-1,082817

test-include-by-reentrant/H02-Aug-2016-1,091825

test-linedir-r/H02-Aug-2016-1,112816

test-lineno-nr/H02-Aug-2016-1,079812

test-lineno-r/H02-Aug-2016-1,082815

test-lineno-trailing/H02-Aug-2016-1,066804

test-mem-nr/H02-Aug-2016-1,169888

test-mem-r/H02-Aug-2016-1,171890

test-multiple-scanners-nr/H02-Aug-2016-1,142826

test-multiple-scanners-r/H02-Aug-2016-1,186861

test-noansi-nr/H02-Aug-2016-1,049785

test-noansi-r/H02-Aug-2016-1,050789

test-posix/H02-Aug-2016-1,046783

test-posixly-correct/H02-Aug-2016-1,046783

test-prefix-nr/H02-Aug-2016-1,059795

test-prefix-r/H02-Aug-2016-1,067803

test-pthread/H02-Aug-2016-5,4125,104

test-quotes/H02-Aug-2016-1,075799

test-reject/H02-Aug-2016-1,153866

test-rescan-nr/H02-Aug-2016-1,044789

test-rescan-r/H02-Aug-2016-1,069806

test-string-nr/H02-Aug-2016-1,066798

test-string-r/H02-Aug-2016-1,073805

test-table-opts/H02-Aug-2016-1,317970

test-top/H02-Aug-2016-1,111811

test-yyextra/H02-Aug-2016-1,8961,447

MakefileH A D02-Aug-201621.8 KiB767661

Makefile.amH A D02-Aug-201613.8 KiB483362

Makefile.inH A D02-Aug-2016119.7 KiB3,1992,869

READMEH A D02-Aug-20162.2 KiB5841

alloc_extra.lH A D02-Aug-20162.8 KiB12464

array_nr.lH A D02-Aug-20161.3 KiB5621

array_r.lH A D02-Aug-20161.4 KiB6324

basic_nr.lH A D02-Aug-20161.7 KiB6526

basic_r.lH A D02-Aug-20161.8 KiB6930

bison_nr_main.cH A D02-Aug-20161.2 KiB4311

bison_nr_parser.yH A D02-Aug-20162.2 KiB9952

bison_nr_scanner.lH A D02-Aug-20161.7 KiB6331

bison_yylloc_main.cH A D02-Aug-20161.3 KiB4513

bison_yylloc_parser.yH A D02-Aug-20162.3 KiB10356

bison_yylloc_scanner.lH A D02-Aug-20161.8 KiB6633

bison_yylval_main.cH A D02-Aug-20161.3 KiB4413

bison_yylval_parser.yH A D02-Aug-20162.1 KiB8544

bison_yylval_scanner.lH A D02-Aug-20162.2 KiB8247

c_cxx_nr.lllH A D02-Aug-20161.4 KiB5848

c_cxx_r.lllH A D02-Aug-20161.5 KiB6252

ccl.lH A D02-Aug-20163.7 KiB9653

create-testH A D02-Aug-2016559 3423

cxx_basic.llH A D02-Aug-20161.3 KiB5141

cxx_multiple_scanners_1.llH A D02-Aug-20161.3 KiB4537

cxx_multiple_scanners_2.llH A D02-Aug-20161.4 KiB4942

cxx_multiple_scanners_main.ccH A D02-Aug-20161.5 KiB5725

cxx_yywrap.llH A D02-Aug-20161.7 KiB7158

debug_nr.lH A D02-Aug-20161.3 KiB5323

debug_r.lH A D02-Aug-20161.5 KiB6027

extended.lH A D02-Aug-20161.8 KiB7435

header_nr_main.cH A D02-Aug-20161.2 KiB4112

header_nr_scanner.lH A D02-Aug-20161.2 KiB4311

header_r_main.cH A D02-Aug-20161.9 KiB6832

header_r_scanner.lH A D02-Aug-20161.3 KiB4712

include_by_buffer.direct.lH A D02-Aug-20162.6 KiB10365

include_by_push.direct.lH A D02-Aug-20162.3 KiB9355

include_by_reentrant.direct.lH A D02-Aug-20162.4 KiB10263

lineno_nr.lH A D02-Aug-20162.2 KiB9747

lineno_r.lH A D02-Aug-20162.3 KiB10050

lineno_trailing.lH A D02-Aug-20162.2 KiB9044

mem_nr.lH A D02-Aug-20164.4 KiB180120

mem_r.lH A D02-Aug-20164.7 KiB188125

multiple_scanners_nr_1.lH A D02-Aug-20161.4 KiB5120

multiple_scanners_nr_2.lH A D02-Aug-20161.4 KiB5020

multiple_scanners_nr_main.cH A D02-Aug-20161.5 KiB5224

multiple_scanners_r_1.lH A D02-Aug-20161.5 KiB5120

multiple_scanners_r_2.lH A D02-Aug-20161.5 KiB5020

multiple_scanners_r_main.cH A D02-Aug-20161.8 KiB6631

noansi_nr.lH A D02-Aug-20161.8 KiB6827

noansi_r.lH A D02-Aug-20161.9 KiB7031

options.cnH A D02-Aug-2016114 61

posix.lH A D02-Aug-20162 KiB8035

posixly_correct.lH A D02-Aug-20162 KiB8035

prefix_nr.lH A D02-Aug-20162 KiB7639

prefix_r.lH A D02-Aug-20162.5 KiB8447

pthread.lH A D02-Aug-20165.8 KiB211125

quotes.lH A D02-Aug-20163 KiB10239

reject.l4H A D02-Aug-20162.1 KiB8367

rescan_nr.direct.lH A D02-Aug-20161.7 KiB7339

rescan_r.direct.lH A D02-Aug-20162.3 KiB9856

string_nr.lH A D02-Aug-20162.6 KiB9750

string_r.lH A D02-Aug-20162.9 KiB10457

tableopts.amH A D02-Aug-201611.5 KiB334200

tableopts.l4H A D02-Aug-20162.1 KiB8570

tableopts.shH A D02-Aug-20161.5 KiB4531

testwrapper.shH A D02-Aug-20161.4 KiB5441

top.lH A D02-Aug-20161.3 KiB5418

top_main.cH A D02-Aug-20161.9 KiB6832

yyextra.lH A D02-Aug-20163.1 KiB12268

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 2 (two).
54
55** Once your work is done, submit a patch via the flex development
56   mailing list, the github pull request mechanism or some other
57   suitable means.
58