| Commit message (Collapse) | Author | Age |
|\ |
|
| |\
| | |
| | |
| | | |
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Fixes: #222
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
-C*f and -C*F option-specific test files collide on case-insensitive
file systems, and cause tests to either not be run at all, or to
overwrite each other's files at build time. So rename -C*F ones to
-C*_F.
|
|\| |
| | |
| | |
| | |
| | |
| | | |
Update to v2.6.4
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
|
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
When running 'make V=0 check', some compile and link steps are made
less verbose and some are not. This cleans up most steps that are
not.
These have no effect if V=0 is not specified.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
"Unlisting" the pthread test when libpthread is not available is never
a good idea. Should let it compile into a stub program that returns
the "skip" status.
configure.ac and tests/Makefile.am are edited so that pthread test can
be built anyway, but only works (not as the stub) when both pthread.h
and libpthread are detected on the system.
Also fix a small typo in tests/pthread.l comments.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
If a ${foo}_scanner.c exists but the respective ${foo}_scanner.h is
missing, then 'make' can halt. Fix this by deleting the
${foo}_scanner.c file and then remake it. This rule is the same as the
automake-generated rule for .c files that require LEX or YACC (except
automake will use ylwrap).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Without BUILT_SOURCES in Makefile, no test sources in tests/ will be
built when using the default "make all" target. This is desireable for
people who are just building flex but who do not want to run, and
therefore, build any part of the test suite.
Also fix missing sources dependencies:
bison_nr_scanner.$(OBJEXT): bison_nr_parser.h
bison_yylloc_scanner.$(OBJEXT): bison_yylloc_parser.h
bison_yylval_scanner.$(OBJEXT): bison_yylval_parser.h
|
| | |
|
| |
| |
| |
| |
| |
| | |
This allows user to use a different shell if /bin/sh has problems.
The use of $SHELL (variable) to run scripts is already an Automake
convention. All shell scripts in build-aux are run by $SHELL.
|
| |
| |
| |
| |
| |
| |
| |
| | |
They now all work under a POSIX compliant sh. Specifically, 'dash' can
now be used for running "make check" tests.
Note that none of these scripts has ever been using a pipe, so
`set -o pipefail` is unnecessary and removed.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If a '-1' test program returns a non-zero status, don't go further and
compare it's (numeric) output values. This allows a '-1' test to
indicate a "skip" status or an otherwise error. (Currently no such '-1'
test would skip like this, though.)
Shell syntax note: `set -e` will not exit with the syntax like this
`test $(false) = $(false);`. The exit statuses of `false` in the
example will be ignored instead. But putting the output in a variable,
such as `VAR=$(false)`, DOES exit.
|
| |
| |
| |
| |
| |
| |
| | |
This patch addscompatibility `#defines` for all macros affected by
`%prefix`.
Fixes #113.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
My changes caused Flex to mishandle string and character literals in
line comments. This commit fixes them.
Fixes #113.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes M4 quotation of certain strings beginning with `yy` (in
section 3 of the input file only) and character literals. The new
quotation method is also less brittle and faster.
Tests that relied on the old behavior were fixed.
Also, `yyconst` is no longer defined; use `const` (which it
unconditionally was defined to) instead.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes M4 quoting of section 3 of the input file, including escape
sequences and character constants.
Tests were added to verify the behavior in section 3 with respect to
quoting. Both escaping of quotes and quoting of potential macro-start
characters are tested. Existing tests were also fixed to account for the new -- and now correct -- behavior. Many tests relied on the old behavior of expanding M4 macros
in section 3. They needed to be updated for the new behavior.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
`WARNINGFLAGS' can be passed when invoking `configure'
and when invoking `make'
if configure switch `--enable-warnings' was given
then default to something useful if we have `GCC'
`WARNINGFLAGS' is not used when compiling `stage1flex'
to avoid unnecessary clutter
|
| |
| |
| |
| | |
[-Wsign-conversion]
|
| |
| |
| |
| | |
the result [-Wsign-conversion]
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
# Conflicts:
# src/buf.c
# src/flex.skl
# src/skel.c
|
| | | |
|
| |\|
| | |
| | |
| | | |
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The current test wrapper works only when the inputs are specified using
relative paths. If they're specified with absolute paths, the driver
fails to detect the inputs because it always prepends the input dir name
which itself is a relative path:
$ cd tests
$ ./testwrapper.sh -d . -i $PWD/reject.txt -t ./reject_ver.table
<fails to open inputs>
This normally doesn't show up because people run `./configure` or, for
out of tree builds, `../configure`. But if you happen to run configure
with an absolute path, then automake tends to generate absolute paths
as well leading to test failures.
Fix all of this by dropping the implicit input directory prepending.
- INPUT_NAME is often a list of files, not just a single one
- the input directory is used to find the testname tables which are
usually generated, so it's impossible to use files from both source
and build directories
- most of the time, the full/correct path is already specified
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Updated standards version to 3.9.7. No changes needed.
Bug fix: "[src:flex] FTCBFS: runs host arch binaries during build",
thanks to Helmut Grohne. Make the tests use either the installed flex
or the newly built flex to generate test soureces, depending on
whether or not we are cross compiling. Also added a build depends flex <cross>
Hope this works. This has not broken the common case. (Closes: #762180).
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
|