Up to [cvs.NetBSD.org] / src / tests / usr.bin / indent
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.10 / (download) - annotate - [select for diffs], Sun Apr 24 09:04:12 2022 UTC (9 months, 1 week ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base,
netbsd-10,
HEAD
Changes since 1.9: +25 -25
lines
Diff to previous 1.9 (colored)
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) - annotate - [select for diffs], Sun Apr 24 08:52:44 2022 UTC (9 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.8: +2 -1
lines
Diff to previous 1.8 (colored)
tests/indent: normalize amount of empty lines between test cases
Revision 1.8 / (download) - annotate - [select for diffs], Sat Apr 23 06:43:23 2022 UTC (9 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.7: +2 -2
lines
Diff to previous 1.7 (colored)
indent: group global variables related to output control No functional change.
Revision 1.7 / (download) - annotate - [select for diffs], Fri Apr 22 21:21:20 2022 UTC (9 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.6: +1 -2
lines
Diff to previous 1.6 (colored)
indent: remove FreeBSD IDs Most of the IDs were empty anyway.
Revision 1.6 / (download) - annotate - [select for diffs], Fri Nov 19 22:24:29 2021 UTC (14 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.5: +47 -4
lines
Diff to previous 1.5 (colored)
tests/indent: refine and extend tests
Revision 1.5 / (download) - annotate - [select for diffs], Fri Nov 19 19:37:13 2021 UTC (14 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.4: +3 -14
lines
Diff to previous 1.4 (colored)
indent: fix formatting of function definitions (since 2019-04-04) In the definition of a function with a pointer return type, the formatting depended on the name of the function. Function names matching [A-Za-z+] were formatted correctly, those containing [$0-9_] weren't.
Revision 1.4 / (download) - annotate - [select for diffs], Wed Oct 20 05:14:21 2021 UTC (15 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.3: +2 -2
lines
Diff to previous 1.3 (colored)
indent: rename blankline_requested variables The words 'prefix' and 'postfix' sounded too much like horizontal concepts, like in operators. The actual purpose of these variables is to add blank lines before and after the current line, so use the same wording as in the command line options. No functional change.
Revision 1.3 / (download) - annotate - [select for diffs], Mon Oct 18 07:11:31 2021 UTC (15 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.2: +3 -19
lines
Diff to previous 1.2 (colored)
tests/indent: merge duplicate input/output and output/output No functional change.
Revision 1.2 / (download) - annotate - [select for diffs], Sat Oct 16 06:02:18 2021 UTC (15 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1: +66 -73
lines
Diff to previous 1.1 (colored)
tests/indent: restructure test for '-bacc' and '-nbacc' To see the effects of the options, group the tests into sections, each containing a small piece of code followed by the output of the two options.
Revision 1.1 / (download) - annotate - [select for diffs], Sat Oct 16 03:20:13 2021 UTC (15 months, 2 weeks ago) by rillig
Branch: MAIN
tests/indent: condense tests for bool options Previously, each bool option such as '-bacc/-nbacc' had 6 test files: input, options, output for the positive and negative option. Splitting this test data into separate files made it harder than necessary to quickly compare the test output from '-bacc' with that of '-nbacc'. Have a single test for the positive and negative option, allowing several tests to run on the same input with different options. This commit only contains the rather mechanic changes of concatenating the previous test files and inserting the '#indent' directives, which are documented in t_options.sh. Removing duplicate input sections, as well as other cleanups will follow soon. No functional change.