The NetBSD Project

CVS log for src/tests/usr.bin/indent/opt_lp.c

[BACK] 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], Fri Jun 9 06:36:58 2023 UTC (8 months, 2 weeks ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +3 -7 lines
Diff to previous 1.9 (colored)

indent: indent multi-line expressions according to parentheses

This reverts the FreeBSD change from 2004-02-12 that had been imported
on 2019-04-04.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jun 8 20:36:35 2023 UTC (8 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.8: +8 -5 lines
Diff to previous 1.8 (colored)

indent: fix indentation in multi-line else-if conditions

Revision 1.8 / (download) - annotate - [select for diffs], Thu Jun 8 20:28:50 2023 UTC (8 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.7: +40 -9 lines
Diff to previous 1.7 (colored)

tests/indent: extend test for wrong indentation in 'else if'

Revision 1.7 / (download) - annotate - [select for diffs], Tue May 23 06:18:00 2023 UTC (9 months ago) by rillig
Branch: MAIN
Changes since 1.6: +23 -1 lines
Diff to previous 1.6 (colored)

tests/indent: add code snippets found in make and lint1

Revision 1.6 / (download) - annotate - [select for diffs], Sun Apr 24 09:04:12 2022 UTC (22 months ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.5: +9 -9 lines
Diff to previous 1.5 (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.5 / (download) - annotate - [select for diffs], Fri Apr 22 21:21:20 2022 UTC (22 months ago) by rillig
Branch: MAIN
Changes since 1.4: +1 -2 lines
Diff to previous 1.4 (colored)

indent: remove FreeBSD IDs

Most of the IDs were empty anyway.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Nov 20 16:54:17 2021 UTC (2 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.3: +35 -1 lines
Diff to previous 1.3 (colored)

tests/indent: clean up and extend tests

Revision 1.3 / (download) - annotate - [select for diffs], Sat Oct 16 21:32:10 2021 UTC (2 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.2: +13 -1 lines
Diff to previous 1.2 (colored)

tests/lint: document and extend the tests for options

Revision 1.2 / (download) - annotate - [select for diffs], Sat Oct 16 05:40:17 2021 UTC (2 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.1: +1 -15 lines
Diff to previous 1.1 (colored)

tests/indent: remove duplicate data from options tests

Revision 1.1 / (download) - annotate - [select for diffs], Sat Oct 16 03:20:13 2021 UTC (2 years, 4 months 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.

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>