Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   rillig
Date:           Mon Oct 18 18:10:20 UTC 2021

Modified Files:
        src/distrib/sets/lists/tests: mi
        src/tests/usr.bin/indent: Makefile t_options.sh
Added Files:
        src/tests/usr.bin/indent: token_ident.c
Removed Files:
        src/tests/usr.bin/indent: binary.0 binary.0.stdout cs.0 cs.0.pro
            cs.0.stdout float.0 float.0.stdout token-ident.0 token-ident.0.pro
            token-ident.0.stdout

Log Message:
tests/indent: merge tests for numbers into token_ident

The previous tests 'binary' and 'float' not only test binary and
floating point numbers, making their names too specific. Move them into
a new test token_ident that covers all "identifier-like" tokens, just as
in the code.

The test cases for the option '-cs' are already covered more
systematically in opt_cs.c, so remove that test.


To generate a diff of this commit:
cvs rdiff -u -r1.1141 -r1.1142 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.16 -r1.17 src/tests/usr.bin/indent/Makefile
cvs rdiff -u -r1.1 -r0 src/tests/usr.bin/indent/binary.0 \
    src/tests/usr.bin/indent/binary.0.stdout src/tests/usr.bin/indent/cs.0 \
    src/tests/usr.bin/indent/cs.0.pro src/tests/usr.bin/indent/cs.0.stdout \
    src/tests/usr.bin/indent/float.0 src/tests/usr.bin/indent/float.0.stdout \
    src/tests/usr.bin/indent/token-ident.0 \
    src/tests/usr.bin/indent/token-ident.0.pro \
    src/tests/usr.bin/indent/token-ident.0.stdout
cvs rdiff -u -r1.5 -r1.6 src/tests/usr.bin/indent/t_options.sh
cvs rdiff -u -r0 -r1.1 src/tests/usr.bin/indent/token_ident.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index