CVS commit: src/tests/usr.bin/xlint/lint1

2021-08-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 16 20:27:31 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: expr_promote.c expr_promote.exp-ln expr_promote_trad.c expr_promote_trad.exp-ln Log Message: tests/lint: test default argument promotion with

CVS commit: src/tests/usr.bin/xlint/lint1

2021-08-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 16 18:51:58 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_123.c msg_123.exp msg_182.c msg_182.exp msg_211.c msg_211.exp msg_241.c msg_241.exp msg_303.c msg_303.exp msg_304.c

CVS commit: src/tests/usr.bin/xlint/lint1

2021-08-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 16 16:19:47 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_115.c msg_115.exp Log Message: tests/lint: document history of initialization of const members To generate a diff of this commit: cvs rdiff -u

CVS commit: src/tests/usr.bin/xlint/lint1

2021-08-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 16 06:30:43 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_046.c msg_046.exp Log Message: tests/lint: test message for redeclared tags To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/tests/usr.bin/xlint/lint1

2021-08-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 16 06:24:37 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: accept.sh Log Message: tests/lint: remove unintended debugging output To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/tests/usr.bin/xlint/lint1

2021-08-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 16 06:15:51 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: accept.sh Log Message: tests/lint: fix check for expected message in msg tests To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/tests/usr.bin/xlint/lint1

2021-08-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 15 21:51:56 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_193.c msg_193.exp Log Message: tests/lint: correct interpretation of NOTREACHED The branch is unconditionally taken, therefore any later code is

CVS commit: src/tests/usr.bin/xlint/lint1

2021-08-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 15 21:21:14 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_193.c msg_193.exp Log Message: tests/lint: test how NOTREACHED affects the unreachable warning Inspired by lib/libedit/readline.c 1.159 from

CVS commit: src/tests/usr.bin/xlint/lint1

2021-08-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 15 14:00:27 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_346.c msg_346.exp Log Message: tests/lint: add tests for more unconst functions To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/tests/usr.bin/xlint/lint1

2021-08-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 15 13:02:20 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_117.c msg_117.exp Log Message: tests/lint: demonstrate wrong warning about signed '>>' Seen in libdes/ostr2key.c(81). To generate a diff of this

CVS commit: src/tests/usr.bin/xlint/lint2

2021-08-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 14 14:25:51 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint2: msg_008.exp msg_008.ln msg_009.exp msg_009.ln msg_010.exp msg_010.ln Log Message: tests/lint: add tests for messages 8, 9 and 10 To

CVS commit: src/tests/usr.bin/xlint/lint1

2021-08-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 11 05:08:35 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: gcc_attribute_var.c gcc_attribute_var.exp Log Message: tests/lint: demonstrate wrong 'syntax error' for unused argument Seen in

CVS commit: src/tests/usr.bin/xlint/lint2

2021-08-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 8 16:35:15 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint2: Makefile t_lint2.sh Log Message: tests/lint: include but don't run read_lp64 on 32-bit platforms The lint1 tests are all in the machine-independent file

CVS commit: src/tests/usr.bin/xlint/lint2

2021-08-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 8 13:22:22 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint2: Makefile Log Message: tests/lint: mips64 is not a 64-bit platform See usr.bin/xlint/arch/mips64/targparam.h. To generate a diff of this commit: cvs

CVS commit: src/tests/usr.bin/xlint/lint1

2021-08-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 8 13:19:51 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: accept.sh c99_bool_strict_suppressed.c Log Message: tests/lint: clean up accept.sh, document test for removed assertion To generate a diff of this

CVS commit: src/tests/usr.bin/xlint

2021-08-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 8 11:07:20 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: emit.c emit.exp-ln src/tests/usr.bin/xlint/lint2: read_printf.ln Log Message: tests/lint: test passing of printf-like strings between lint1 and

CVS commit: src/tests/usr.bin/xlint/lint2

2021-08-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 7 19:07:03 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint2: msg_001.exp msg_001.ln msg_003.exp msg_003.ln msg_004.exp msg_004.ln msg_005.exp msg_005.ln msg_006.exp msg_006.ln msg_011.exp

CVS commit: src/tests/usr.bin/xlint/lint2

2021-08-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 6 16:21:00 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint2: msg_001.exp msg_001.ln msg_002.exp msg_002.ln Log Message: tests/lint: add tests for declared but unused variables To generate a diff of

CVS commit: src/tests/usr.bin/xlint/lint1

2021-08-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Aug 3 20:46:10 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_union_cast.c d_c99_union_cast.exp Log Message: tests/lint: prepare non-GCC test for union casts To generate a diff of this commit: cvs rdiff -u

CVS commit: src/tests/usr.bin/xlint/lint1

2021-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 1 21:12:32 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: c11_generic_expression.c Log Message: tests/lint: fix test c11_generic_expression on ILP32 These platforms don't provide __uint128_t, at least not in

CVS commit: src/tests/usr.bin/xlint/lint1

2021-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 1 14:51:41 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: expr_binary.c expr_binary.exp Log Message: tests/lint: re-add the test for __uint128_t To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/tests/usr.bin/xlint/lint1

2021-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 1 14:42:21 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: expr_binary.c expr_binary.exp Log Message: tests/lint: fully cover the usual arithmetic conversions To generate a diff of this commit: cvs rdiff -u

CVS commit: src/tests/usr.bin/xlint/lint1

2021-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 1 13:45:14 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: expr_binary.c expr_binary.exp Log Message: lint: demonstrate wrong integer conversion for __uint128_t To generate a diff of this commit: cvs rdiff -u

CVS commit: src/tests/usr.bin/xlint/lint1

2021-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 1 13:09:38 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: c11_generic_expression.c Log Message: tests/lint: document why lint does not check _Generic selections To generate a diff of this commit: cvs rdiff -u

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 31 10:09:03 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_115.c msg_115.exp Log Message: tests/lint: demonstrate more wrong warnings for const struct members The code 't_const = false' occurs 4 times in the

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 31 09:14:47 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_115.c msg_115.exp Log Message: tests/lint: demonstrate wrong error message for initialization Seen in usr.bin/make/var.c:4022 in C99 mode, where a

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jul 26 18:06:43 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: expr_precedence.c expr_precedence.exp Log Message: tests/lint: show bug in conditional expression (since 2021-07-15) Since cgram.y 1.325 from

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jul 26 17:09:46 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: expr_precedence.c expr_precedence.exp Log Message: tests/lint: demonstrate bug in chained assignment (since 2021-07-15) Since cgram.y 1.325 from

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 25 22:31:22 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_342.c msg_342.exp Log Message: tests/lint: cover code in ckctype.c To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 25 19:41:33 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: parse_type_name.c parse_type_name.exp Log Message: tests/lint: explain where the second __attribute__ comes from To generate a diff of this commit: cvs

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 25 19:22:08 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: parse_type_name.c parse_type_name.exp Log Message: tests/lint: fix unintended line breaks To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 25 18:34:44 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: gcc_attribute_enum.c gcc_attribute_enum.exp Log Message: tests/lint: test __attribute__ with enum To generate a diff of this commit: cvs

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 25 11:19:51 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: gcc_typeof.c gcc_typeof.exp Log Message: tests/lint: document parse error for GCC typeof To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 25 10:26:46 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_110.c msg_110.exp msg_147.c msg_147.exp Log Message: tests/lint: test function types and pointer arithmetic To generate a diff of this

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 25 09:53:01 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: parse_type_name.c parse_type_name.exp Log Message: tests/lint: try harder to reduce 'abstract_declarator: T_TYPEOF' At the top level of a type_name,

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 25 09:47:08 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: parse_type_name.c parse_type_name.exp Log Message: tests/lint: document unreachable 'abstract_declarator: T_TYPEOF' To generate a diff of this commit:

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 25 06:04:40 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: decl_arg.c decl_arg.exp Log Message: tests/lint: demonstrate internal error in parsing a declaration To generate a diff of this commit: cvs rdiff -u

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-23 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jul 23 15:21:47 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: decl.c decl.exp Log Message: tests/lint: test lexer for the GCC extension __thread To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Jul 15 21:34:11 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: decl.c Log Message: tests/lint: cover abstract_declaration, discover internal error To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Jul 15 21:12:46 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_135.c msg_135.exp msg_247.c msg_247.exp Log Message: tests/lint: demonstrate questionable warnings for pointer casts To generate a diff

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Jul 15 17:48:10 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: expr_precedence.c expr_precedence.exp Log Message: tests/lint: explain global variables in __attribute__ To generate a diff of this commit: cvs rdiff

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jul 13 21:50:05 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_065.c msg_065.exp msg_067.c msg_067.exp Log Message: tests/lint: add tests for empty and incomplete structs To generate a diff of this

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jul 13 19:11:35 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_142.c msg_142.exp Log Message: tests/lint: skip test for floating point overflow on alpha On alpha and a few other platforms (see t_integration.sh),

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jul 13 18:50:16 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: Makefile t_integration.sh Log Message: tests/lint: take archsubdir from usr.bin/xlint/Makefile.inc This fixes the tests on the various ARM platforms

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jul 12 18:00:36 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_064.c msg_064.exp Log Message: tests/lint: test trying to define a ()-less function To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 11 22:41:36 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: t_integration.sh Log Message: tests/lint: rework ATF test driver To skip tests that work only on particular platforms, a simple 'eval' from the shell

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 11 20:34:05 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: c11_generic_expression.c c11_generic_expression.exp Log Message: tests/lint: demonstrate that _Generic must be a primary_expression To

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 11 19:39:00 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_complex_split.c Log Message: tests/lint: test precedence of __real__ and cast_expression To generate a diff of this commit: cvs rdiff -u -r1.7

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 11 14:43:57 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: accept.sh Log Message: tests/lint: when accepting test results, skip crashes To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 11 13:32:06 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: gcc_attribute_var.c gcc_attribute_var.exp Log Message: tests/lint: analyze yesterday's bug for parsing declarations To generate a diff of

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 11 12:12:30 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: decl.c decl.exp Log Message: tests/lint: parse error for unused variable (since 2021-07-10) Since cgram.y 1.294 from 2021-07-10. To generate a diff of

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 11 12:07:15 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: accept.sh Log Message: tests/lint: suppress ShellCheck warnings for intentional violations The undeclared variables are generated by the AWK program.

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 10 22:34:02 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: decl_struct_member.c decl_struct_member.exp Log Message: tests/lint: demonstrate parse error for __attribute__ member To generate a diff of

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 10 19:30:19 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: decl.c decl.exp Log Message: tests/lint: test error handling in enum-specifier To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 10 18:42:28 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: lex_integer.c Log Message: tests/lint: test lexing of integer suffixes To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 10 18:34:03 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_083.c msg_083.exp Log Message: tests/lint: add another example for storage class in declaration To generate a diff of this commit: cvs rdiff -u

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 10 08:40:36 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: decl_arg.c decl_arg.exp Log Message: tests/lint: add code coverage for grammar rule parameter_declaration To generate a diff of this commit: cvs rdiff

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 10 08:01:11 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: decl_arg.c Log Message: lint: add code coverage for grammar rule direct_notype_param_decl To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 10 06:01:41 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: decl_arg.c msg_124.c Log Message: tests/lint: move test for __attribute__ out of msg_124.c That test case didn't belong there since there was no chance

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jul 9 18:55:28 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: gcc_attribute.c Log Message: tests/lint: ensure that GCC __attribute__ can be parsed To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Jul 8 20:11:15 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_249.c Log Message: tests/lint: test error recovery of the parser To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Jul 8 18:02:22 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_249.c msg_249.exp Log Message: tests/lint: add test coverage for some parse errors To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jul 6 18:43:27 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: gcc_attribute.c Log Message: tests/lint: add test for empty __attribute__(()) To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jul 6 06:38:29 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: gcc_attribute.c Log Message: tests/lint: document wrong handling of GCC __attribute__ To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jul 5 19:43:29 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: expr_range.c Log Message: tests/lint: fix typos in comment in expr_range To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/tests/usr.bin/xlint

2021-07-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jul 5 19:02:14 UTC 2021 Modified Files: src/tests/usr.bin/xlint: check-expect.lua src/tests/usr.bin/xlint/lint1: c99_bool_strict_suppressed.c Log Message: tests/lint: fix check-expect.lua for empty .exp file An

CVS commit: src/tests/usr.bin/xlint

2021-07-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jul 5 18:55:14 UTC 2021 Modified Files: src/tests/usr.bin/xlint: check-expect.lua Log Message: tests/lint: remove unused variables To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 4 17:32:24 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_259.c msg_259.exp Log Message: tests/lint: align tests for argument conversion to each other To generate a diff of this commit: cvs rdiff -u -r1.8

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 4 13:32:35 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_004.c Log Message: tests/lint: document why lint does not need to detect wrong types To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 4 13:44:43 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_080.c msg_080.exp Log Message: tests/lint: fix unintended character constant in test I originally intended to type ASCII DEL as an example of a

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 4 08:50:26 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: Makefile Log Message: tests/lint: re-enable test c99_bool_strict_suppressed It had been disabled accidentally in the previous commit. To generate a

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 3 19:34:47 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_cast_init.c Log Message: tests/lint: fix test d_cast_init on macppc On macppc, char == unsigned, which generated the following unintended warnings:

CVS commit: src/tests/usr.bin/xlint/lint1

2021-07-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jul 2 23:29:54 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: c99_init_array.c c99_init_array.exp Log Message: tests/lint: encode the array length in the diagnostic To generate a diff of this commit: cvs rdiff -u

CVS commit: src/tests/usr.bin/xlint/lint1

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 14:15:39 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_215.c msg_215.exp Log Message: tests/lint: extend test for message 215 about implicit function To generate a diff of this commit: cvs rdiff -u

CVS commit: src/tests/usr.bin/xlint/lint1

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 14:02:11 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_101.c msg_101.exp Log Message: tests/lint: extend tests for message 101 This demonstrates the wrong type name in the message. To generate a diff

CVS commit: src/tests/usr.bin/xlint/lint1

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 13:50:15 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_215.c msg_215.exp Log Message: tests/lint: extend and explain test for implicit function declaration To generate a diff of this commit: cvs rdiff

CVS commit: src/tests/usr.bin/xlint/lint1

2021-06-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 30 12:26:35 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_155.c msg_155.exp Log Message: tests/lint: add test for type name of enum converted to int To generate a diff of this commit: cvs rdiff -u -r1.7

CVS commit: src/tests/usr.bin/xlint/lint1

2021-06-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 29 09:44:25 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: Makefile Added Files: src/tests/usr.bin/xlint/lint1: accept.sh Log Message: tests/lint: add 'make accept' to update the expected output To

CVS commit: src/tests/usr.bin/xlint/lint1

2021-06-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 29 08:46:10 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: lex_integer.c t_integration.sh Log Message: tests/lint: allow tests to be skipped depending on platform properties To generate a diff of this commit:

CVS commit: src/tests/usr.bin/xlint/lint1

2021-06-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 29 07:28:02 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: lex_char.c Log Message: tests/lint: add test for character constant using backslash-newline To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/tests/usr.bin/xlint/lint1

2021-06-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 29 07:17:43 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: lex_char.c lex_char.exp msg_076.c msg_076.exp msg_077.c msg_077.exp msg_080.c msg_080.exp msg_082.c msg_250.c msg_250.exp

CVS commit: src/tests/usr.bin/xlint/lint1

2021-06-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 27 19:59:23 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: c11_generic_expression.c c11_generic_expression.exp Log Message: tests/lint: add test for _Generic with incompatible return types To

CVS commit: src/tests/usr.bin/xlint/lint1

2021-06-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 27 19:41:15 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: t_integration.sh Log Message: tests/lint: fix selection of the .exp-ln file Since t_integration.sh 1.58 from today, the expected .ln output was not

CVS commit: src/tests/usr.bin/xlint/lint1

2021-06-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 27 19:33:25 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: t_integration.sh Log Message: tests/lint: remove list of test names from t_integration By convention, each *.c file in the source directory is a test

CVS commit: src/tests/usr.bin/xlint/lint1

2021-06-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 27 10:14:43 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: lex_integer.c lex_integer.exp t_integration.sh Log Message: tests/lint: allow skipping individual tests Depending on the platform, some

CVS commit: src/tests/usr.bin/xlint/lint1

2021-06-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 20 18:23:07 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: lex_char.c lex_char.exp Log Message: tests/lint: remove outdated comment about '\0' That comment was only needed for lex.c 1.38 from 2021-06-18, which

CVS commit: src/tests/usr.bin/xlint/lint1

2021-06-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 20 18:11:21 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_init_pop_member.c Log Message: tests/lint: document disappearance of bug in pop_member To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/tests/usr.bin/xlint/lint1

2021-06-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 16 10:21:51 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: t_integration.sh Log Message: tests/lint: sort the list of test cases No functional change. To generate a diff of this commit: cvs rdiff -u -r1.51

CVS commit: src/tests/usr.bin/xlint/lint1

2021-06-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 16 10:19:23 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: t_integration.sh Log Message: tests/lint: clean up ATF test driver No functional change. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51

CVS commit: src/tests/usr.bin/xlint/lint1

2021-06-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 15 08:48:49 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_285.c msg_285.exp Log Message: tests/lint: add test for previous prototype declaration To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/tests/usr.bin/xlint/lint1

2021-05-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue May 25 19:04:07 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_130.c Log Message: tests/lint: make test 130 platform-independent On 32-bit platforms such as i386 and sparc, sizeof(int) == sizeof(long), which

CVS commit: src/tests/usr.bin/patch

2021-05-25 Thread Chris Pinnock
Module Name:src Committed By: cjep Date: Tue May 25 11:55:42 UTC 2021 Modified Files: src/tests/usr.bin/patch: t_patch.sh Log Message: The long lines test is now expected to pass To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/tests/usr.bin/printf

2021-05-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed May 19 22:45:49 UTC 2021 Modified Files: src/tests/usr.bin/printf: printf.sh Log Message: With the (very) recent changes to printf(1), a numeric conversion from data of the form '+1 (two (or more) characters after the quote)

CVS commit: src/tests/usr.bin/printf

2021-05-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed May 19 22:20:34 UTC 2021 Modified Files: src/tests/usr.bin/printf: printf.sh Log Message: Fix a truly embarrassing quoting screwup. There is an explanation as to why this didn't cause any failures, but I won't go into it here.

CVS commit: src/tests/usr.bin/xlint/lint1

2021-05-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 16 10:08:02 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_309.c msg_309.exp Log Message: tests/lint: add test for warning about zero-bits in '&' To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/tests/usr.bin/xlint/lint1

2021-05-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue May 4 19:57:57 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_118.c msg_118.exp Log Message: tests/lint: make test for message 118 platform-independent To generate a diff of this commit: cvs rdiff -u -r1.4

CVS commit: src/tests/usr.bin/xlint/lint1

2021-05-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue May 4 05:32:52 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: gcc_bit_field_types.c Log Message: tests/lint: demonstrate assertion failure "len == size_in_bits(INT)" Seen on sparc64 in hdtoa.c:341 since sparc64 is

CVS commit: src/tests/usr.bin/xlint/lint1

2021-05-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon May 3 06:24:18 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: gcc_attribute.c gcc_attribute.exp Log Message: tests/lint: demonstrate bug in the lexer for GCC attributes To generate a diff of this commit: cvs rdiff

CVS commit: src/tests/usr.bin/xlint/lint1

2021-05-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon May 3 03:50:43 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: t_integration.sh Log Message: tests/lint: remove outdated comment The test d_gcc_extension is already activated in line 121. To generate a diff of

CVS commit: src/tests/usr.bin/xlint/lint1

2021-05-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 2 21:47:28 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: gcc_bit_field_types.c gcc_bit_field_types.exp Log Message: tests/lint: fix test for GCC bit-field types The whole purpose of this test is to

  1   2   3   4   5   >