The NetBSD Project

CVS log for src/tests/usr.bin/indent/Attic/t_options.awk

[BACK] Up to [cvs.NetBSD.org] / src / tests / usr.bin / indent

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.14
Sat May 20 21:32:05 2023 UTC (18 months, 2 weeks ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
FILE REMOVED
Changes since revision 1.13: +1 -1 lines
tests/indent: migrate test driver from AWK to Lua

Lua reports more details when os.execute fails, which is useful when
running old versions of indent for comparison.  The new test driver also
supports multiple test files in the same run.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat May 20 17:31:53 2023 UTC (18 months, 2 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +5 -10 lines
tests/indent: clean up test driver

No functional change.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon May 15 17:38:56 2023 UTC (18 months, 2 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
indent: remove accidental space before tab

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu May 11 09:28:53 2023 UTC (18 months, 3 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -1 lines
indent: remove buggy code for swapping tokens

It is not the job of an indenter to swap tokens, even if it's only about
placing comments elsewhere.  The code that swapped the tokens was
complicated, buggy and impossible to understand.

In -br (brace right) mode, indent no longer moves a '{' from the
beginning of a line to the end of the previous line, as that was handled
by the token swapping code as well.  This change is unintended, but it
will be easier to re-add that now that the code is simpler.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Apr 24 09:04:12 2022 UTC (2 years, 7 months ago) by rillig
Branches: MAIN
CVS tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +9 -9 lines
tests/indent: change directive from '#' to '//'

Using a '//' instead of '#' turns the directives into well-formed C
code, resulting in fewer error markers in the editor.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Apr 24 08:52:44 2022 UTC (2 years, 7 months ago) by rillig
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +18 -1 lines
tests/indent: normalize amount of empty lines between test cases

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Apr 22 21:21:20 2022 UTC (2 years, 7 months ago) by rillig
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -3 lines
indent: remove FreeBSD IDs

Most of the IDs were empty anyway.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Nov 20 13:14:34 2021 UTC (3 years ago) by rillig
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -3 lines
indent/tests: remove outdated comment

This task was resolved in the previous commit.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Nov 20 13:07:57 2021 UTC (3 years ago) by rillig
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -3 lines
indent/tests: make warning for empty lines more helpful

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Nov 20 11:13:18 2021 UTC (3 years ago) by rillig
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +28 -1 lines
tests/indent: normalize empty lines in tests

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Nov 20 10:24:30 2021 UTC (3 years ago) by rillig
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -1 lines
tests/indent: clean up test for the options '-cdb' and '-ncdb'

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Nov 18 17:11:13 2021 UTC (3 years ago) by rillig
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +29 -29 lines
tests/indent: reorder code in test driver

No functional change.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Oct 23 20:35:18 2021 UTC (3 years, 1 month ago) by rillig
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -1 lines
tests/indent: prevent non-comment text to be ignored in the tests

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Oct 18 20:18:00 2021 UTC (3 years, 1 month ago) by rillig
Branches: MAIN
tests/indent: extend tests for labels, extract test driver

Having the test driver in a separate file allows to run it on its own,
as 'awk -f t_options.awk label.c'. When the test driver warns, exit 1;
this is only needed for the standalone version, when run from inside ATF
the warnings on stderr already suffice to make the test fail in the end.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>