Source-Changes archive

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

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



Module Name:    src
Committed By:   rillig
Date:           Sun Feb 21 09:07:58 UTC 2021

Modified Files:
        src/tests/usr.bin/xlint: check-expect.lua
        src/tests/usr.bin/xlint/lint1: d_c99_bool.c d_c99_init.c
            d_c99_union_cast.c d_constant_conv1.c d_constant_conv2.c
            d_cvt_constant.c d_decl_old_style_arguments.c d_fold_test.c
            d_gcc_extension.c d_incorrect_array_size.c d_lint_assert.c
            d_long_double_int.c d_return_type.c d_struct_init_nested.c
            d_type_conv1.c d_type_conv2.c d_type_conv3.c msg_011.c msg_012.c
            msg_013.c msg_014.c msg_015.c msg_016.c msg_017.c msg_018.c
            msg_020.c msg_022.c msg_023.c msg_024.c msg_025.c msg_026.c
            msg_028.c msg_030.c msg_032.c msg_033.c msg_038.c msg_039.c
            msg_040.c msg_041.c msg_042.c msg_043.c msg_044.c msg_045.c
            msg_046.c msg_047.c msg_048.c msg_049.c msg_052.c msg_053.c
            msg_058.c msg_059.c msg_062.c msg_063.c msg_064.c msg_065.c
            msg_067.c msg_069.c msg_070.c msg_076.c msg_077.c msg_078.c
            msg_079.c msg_080.c msg_090.c msg_091.c msg_092.c msg_102.c
            msg_103.c msg_104.c msg_105.c msg_106.c msg_107.c msg_110.c
            msg_111.c msg_112.c msg_113.c msg_118.c msg_119.c msg_128.c
            msg_131.c msg_132.c msg_134.c msg_135.c msg_137.c msg_138.c
            msg_139.c msg_140.c msg_141.c msg_147.c msg_148.c msg_149.c
            msg_151.c msg_152.c msg_153.c msg_154.c msg_155.c msg_157.c
            msg_158.c msg_159.c msg_162.c msg_176.c msg_179.c msg_181.c
            msg_182.c msg_183.c msg_184.c msg_185.c msg_186.c msg_187.c
            msg_188.c msg_190.c msg_195.c msg_196.c msg_197.c msg_198.c
            msg_199.c msg_200.c msg_201.c msg_202.c msg_203.c msg_205.c
            msg_206.c msg_207.c msg_208.c msg_209.c msg_210.c msg_211.c
            msg_212.c msg_213.c msg_214.c msg_215.c msg_218.c msg_222.c
            msg_226.c msg_227.c msg_228.c msg_229.c msg_233.c msg_234.c
            msg_235.c msg_236.c msg_237.c msg_238.c msg_239.c msg_240.c
            msg_241.c msg_242.c msg_244.c msg_245.c msg_246.c msg_247.c
            msg_248.c msg_249.c msg_250.c msg_251.c msg_252.c msg_253.c
            msg_254.c msg_255.c msg_256.c msg_257.c msg_258.c msg_260.c
            msg_261.c msg_262.c msg_263.c msg_264.c msg_266.c msg_267.c
            msg_268.c msg_269.c msg_270.c msg_271.c msg_272.c msg_273.c
            msg_274.c msg_275.c msg_276.c msg_277.c msg_278.c msg_279.c
            msg_280.c msg_281.c msg_282.c msg_283.c msg_284.c msg_285.c
            msg_286.c msg_287.c msg_288.c msg_289.c msg_290.c msg_291.c
            msg_292.c msg_293.c msg_294.c msg_295.c msg_296.c msg_297.c
            msg_298.c msg_299.c msg_300.c msg_301.c msg_302.c msg_303.c
            msg_304.c msg_305.c msg_306.c msg_307.c msg_309.c msg_310.c
            msg_311.c msg_312.c msg_313.c msg_314.c msg_315.c msg_316.c
            msg_317.c msg_318.c msg_319.c msg_320.c msg_321.c msg_322.c
            msg_323.c msg_325.c msg_326.c msg_327.c msg_328.c

Log Message:
lint: force each test to declare the expected diagnostics

By listing the expected diagnostics directly at the code that triggers
the diagnostics, it is easier to cross-check whether the diagnostics
make sense.

No functional change to lint itself.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/check-expect.lua
cvs rdiff -u -r1.5 -r1.6 src/tests/usr.bin/xlint/lint1/d_c99_bool.c
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/xlint/lint1/d_c99_init.c \
    src/tests/usr.bin/xlint/lint1/d_decl_old_style_arguments.c \
    src/tests/usr.bin/xlint/lint1/msg_012.c \
    src/tests/usr.bin/xlint/lint1/msg_013.c \
    src/tests/usr.bin/xlint/lint1/msg_014.c \
    src/tests/usr.bin/xlint/lint1/msg_015.c \
    src/tests/usr.bin/xlint/lint1/msg_016.c \
    src/tests/usr.bin/xlint/lint1/msg_017.c \
    src/tests/usr.bin/xlint/lint1/msg_018.c \
    src/tests/usr.bin/xlint/lint1/msg_020.c \
    src/tests/usr.bin/xlint/lint1/msg_022.c \
    src/tests/usr.bin/xlint/lint1/msg_023.c \
    src/tests/usr.bin/xlint/lint1/msg_024.c \
    src/tests/usr.bin/xlint/lint1/msg_025.c \
    src/tests/usr.bin/xlint/lint1/msg_026.c \
    src/tests/usr.bin/xlint/lint1/msg_028.c \
    src/tests/usr.bin/xlint/lint1/msg_030.c \
    src/tests/usr.bin/xlint/lint1/msg_032.c \
    src/tests/usr.bin/xlint/lint1/msg_033.c \
    src/tests/usr.bin/xlint/lint1/msg_038.c \
    src/tests/usr.bin/xlint/lint1/msg_039.c \
    src/tests/usr.bin/xlint/lint1/msg_040.c \
    src/tests/usr.bin/xlint/lint1/msg_041.c \
    src/tests/usr.bin/xlint/lint1/msg_042.c \
    src/tests/usr.bin/xlint/lint1/msg_043.c \
    src/tests/usr.bin/xlint/lint1/msg_044.c \
    src/tests/usr.bin/xlint/lint1/msg_045.c \
    src/tests/usr.bin/xlint/lint1/msg_046.c \
    src/tests/usr.bin/xlint/lint1/msg_047.c \
    src/tests/usr.bin/xlint/lint1/msg_048.c \
    src/tests/usr.bin/xlint/lint1/msg_049.c \
    src/tests/usr.bin/xlint/lint1/msg_052.c \
    src/tests/usr.bin/xlint/lint1/msg_053.c \
    src/tests/usr.bin/xlint/lint1/msg_058.c \
    src/tests/usr.bin/xlint/lint1/msg_059.c \
    src/tests/usr.bin/xlint/lint1/msg_062.c \
    src/tests/usr.bin/xlint/lint1/msg_063.c \
    src/tests/usr.bin/xlint/lint1/msg_064.c \
    src/tests/usr.bin/xlint/lint1/msg_065.c \
    src/tests/usr.bin/xlint/lint1/msg_067.c \
    src/tests/usr.bin/xlint/lint1/msg_069.c \
    src/tests/usr.bin/xlint/lint1/msg_070.c \
    src/tests/usr.bin/xlint/lint1/msg_076.c \
    src/tests/usr.bin/xlint/lint1/msg_077.c \
    src/tests/usr.bin/xlint/lint1/msg_078.c \
    src/tests/usr.bin/xlint/lint1/msg_079.c \
    src/tests/usr.bin/xlint/lint1/msg_080.c \
    src/tests/usr.bin/xlint/lint1/msg_090.c \
    src/tests/usr.bin/xlint/lint1/msg_091.c \
    src/tests/usr.bin/xlint/lint1/msg_092.c \
    src/tests/usr.bin/xlint/lint1/msg_102.c \
    src/tests/usr.bin/xlint/lint1/msg_103.c \
    src/tests/usr.bin/xlint/lint1/msg_104.c \
    src/tests/usr.bin/xlint/lint1/msg_105.c \
    src/tests/usr.bin/xlint/lint1/msg_106.c \
    src/tests/usr.bin/xlint/lint1/msg_107.c \
    src/tests/usr.bin/xlint/lint1/msg_110.c \
    src/tests/usr.bin/xlint/lint1/msg_111.c \
    src/tests/usr.bin/xlint/lint1/msg_112.c \
    src/tests/usr.bin/xlint/lint1/msg_113.c \
    src/tests/usr.bin/xlint/lint1/msg_118.c \
    src/tests/usr.bin/xlint/lint1/msg_119.c \
    src/tests/usr.bin/xlint/lint1/msg_128.c \
    src/tests/usr.bin/xlint/lint1/msg_131.c \
    src/tests/usr.bin/xlint/lint1/msg_132.c \
    src/tests/usr.bin/xlint/lint1/msg_134.c \
    src/tests/usr.bin/xlint/lint1/msg_135.c \
    src/tests/usr.bin/xlint/lint1/msg_137.c \
    src/tests/usr.bin/xlint/lint1/msg_138.c \
    src/tests/usr.bin/xlint/lint1/msg_139.c \
    src/tests/usr.bin/xlint/lint1/msg_140.c \
    src/tests/usr.bin/xlint/lint1/msg_141.c \
    src/tests/usr.bin/xlint/lint1/msg_147.c \
    src/tests/usr.bin/xlint/lint1/msg_148.c \
    src/tests/usr.bin/xlint/lint1/msg_149.c \
    src/tests/usr.bin/xlint/lint1/msg_151.c \
    src/tests/usr.bin/xlint/lint1/msg_152.c \
    src/tests/usr.bin/xlint/lint1/msg_153.c \
    src/tests/usr.bin/xlint/lint1/msg_154.c \
    src/tests/usr.bin/xlint/lint1/msg_155.c \
    src/tests/usr.bin/xlint/lint1/msg_157.c \
    src/tests/usr.bin/xlint/lint1/msg_158.c \
    src/tests/usr.bin/xlint/lint1/msg_159.c \
    src/tests/usr.bin/xlint/lint1/msg_162.c \
    src/tests/usr.bin/xlint/lint1/msg_176.c \
    src/tests/usr.bin/xlint/lint1/msg_179.c \
    src/tests/usr.bin/xlint/lint1/msg_181.c \
    src/tests/usr.bin/xlint/lint1/msg_182.c \
    src/tests/usr.bin/xlint/lint1/msg_183.c \
    src/tests/usr.bin/xlint/lint1/msg_184.c \
    src/tests/usr.bin/xlint/lint1/msg_185.c \
    src/tests/usr.bin/xlint/lint1/msg_186.c \
    src/tests/usr.bin/xlint/lint1/msg_187.c \
    src/tests/usr.bin/xlint/lint1/msg_188.c \
    src/tests/usr.bin/xlint/lint1/msg_190.c \
    src/tests/usr.bin/xlint/lint1/msg_195.c \
    src/tests/usr.bin/xlint/lint1/msg_196.c \
    src/tests/usr.bin/xlint/lint1/msg_197.c \
    src/tests/usr.bin/xlint/lint1/msg_198.c \
    src/tests/usr.bin/xlint/lint1/msg_199.c \
    src/tests/usr.bin/xlint/lint1/msg_200.c \
    src/tests/usr.bin/xlint/lint1/msg_201.c \
    src/tests/usr.bin/xlint/lint1/msg_202.c \
    src/tests/usr.bin/xlint/lint1/msg_203.c \
    src/tests/usr.bin/xlint/lint1/msg_205.c \
    src/tests/usr.bin/xlint/lint1/msg_206.c \
    src/tests/usr.bin/xlint/lint1/msg_207.c \
    src/tests/usr.bin/xlint/lint1/msg_208.c \
    src/tests/usr.bin/xlint/lint1/msg_209.c \
    src/tests/usr.bin/xlint/lint1/msg_210.c \
    src/tests/usr.bin/xlint/lint1/msg_211.c \
    src/tests/usr.bin/xlint/lint1/msg_212.c \
    src/tests/usr.bin/xlint/lint1/msg_213.c \
    src/tests/usr.bin/xlint/lint1/msg_214.c \
    src/tests/usr.bin/xlint/lint1/msg_215.c \
    src/tests/usr.bin/xlint/lint1/msg_218.c \
    src/tests/usr.bin/xlint/lint1/msg_222.c \
    src/tests/usr.bin/xlint/lint1/msg_226.c \
    src/tests/usr.bin/xlint/lint1/msg_227.c \
    src/tests/usr.bin/xlint/lint1/msg_228.c \
    src/tests/usr.bin/xlint/lint1/msg_229.c \
    src/tests/usr.bin/xlint/lint1/msg_233.c \
    src/tests/usr.bin/xlint/lint1/msg_234.c \
    src/tests/usr.bin/xlint/lint1/msg_235.c \
    src/tests/usr.bin/xlint/lint1/msg_236.c \
    src/tests/usr.bin/xlint/lint1/msg_237.c \
    src/tests/usr.bin/xlint/lint1/msg_238.c \
    src/tests/usr.bin/xlint/lint1/msg_239.c \
    src/tests/usr.bin/xlint/lint1/msg_240.c \
    src/tests/usr.bin/xlint/lint1/msg_241.c \
    src/tests/usr.bin/xlint/lint1/msg_242.c \
    src/tests/usr.bin/xlint/lint1/msg_244.c \
    src/tests/usr.bin/xlint/lint1/msg_245.c \
    src/tests/usr.bin/xlint/lint1/msg_246.c \
    src/tests/usr.bin/xlint/lint1/msg_247.c \
    src/tests/usr.bin/xlint/lint1/msg_248.c \
    src/tests/usr.bin/xlint/lint1/msg_249.c \
    src/tests/usr.bin/xlint/lint1/msg_250.c \
    src/tests/usr.bin/xlint/lint1/msg_251.c \
    src/tests/usr.bin/xlint/lint1/msg_252.c \
    src/tests/usr.bin/xlint/lint1/msg_253.c \
    src/tests/usr.bin/xlint/lint1/msg_254.c \
    src/tests/usr.bin/xlint/lint1/msg_255.c \
    src/tests/usr.bin/xlint/lint1/msg_256.c \
    src/tests/usr.bin/xlint/lint1/msg_257.c \
    src/tests/usr.bin/xlint/lint1/msg_258.c \
    src/tests/usr.bin/xlint/lint1/msg_260.c \
    src/tests/usr.bin/xlint/lint1/msg_261.c \
    src/tests/usr.bin/xlint/lint1/msg_262.c \
    src/tests/usr.bin/xlint/lint1/msg_263.c \
    src/tests/usr.bin/xlint/lint1/msg_264.c \
    src/tests/usr.bin/xlint/lint1/msg_266.c \
    src/tests/usr.bin/xlint/lint1/msg_267.c \
    src/tests/usr.bin/xlint/lint1/msg_268.c \
    src/tests/usr.bin/xlint/lint1/msg_269.c \
    src/tests/usr.bin/xlint/lint1/msg_270.c \
    src/tests/usr.bin/xlint/lint1/msg_271.c \
    src/tests/usr.bin/xlint/lint1/msg_272.c \
    src/tests/usr.bin/xlint/lint1/msg_273.c \
    src/tests/usr.bin/xlint/lint1/msg_274.c \
    src/tests/usr.bin/xlint/lint1/msg_275.c \
    src/tests/usr.bin/xlint/lint1/msg_276.c \
    src/tests/usr.bin/xlint/lint1/msg_277.c \
    src/tests/usr.bin/xlint/lint1/msg_278.c \
    src/tests/usr.bin/xlint/lint1/msg_279.c \
    src/tests/usr.bin/xlint/lint1/msg_280.c \
    src/tests/usr.bin/xlint/lint1/msg_281.c \
    src/tests/usr.bin/xlint/lint1/msg_282.c \
    src/tests/usr.bin/xlint/lint1/msg_283.c \
    src/tests/usr.bin/xlint/lint1/msg_284.c \
    src/tests/usr.bin/xlint/lint1/msg_285.c \
    src/tests/usr.bin/xlint/lint1/msg_286.c \
    src/tests/usr.bin/xlint/lint1/msg_287.c \
    src/tests/usr.bin/xlint/lint1/msg_288.c \
    src/tests/usr.bin/xlint/lint1/msg_289.c \
    src/tests/usr.bin/xlint/lint1/msg_290.c \
    src/tests/usr.bin/xlint/lint1/msg_291.c \
    src/tests/usr.bin/xlint/lint1/msg_292.c \
    src/tests/usr.bin/xlint/lint1/msg_293.c \
    src/tests/usr.bin/xlint/lint1/msg_294.c \
    src/tests/usr.bin/xlint/lint1/msg_295.c \
    src/tests/usr.bin/xlint/lint1/msg_296.c \
    src/tests/usr.bin/xlint/lint1/msg_297.c \
    src/tests/usr.bin/xlint/lint1/msg_298.c \
    src/tests/usr.bin/xlint/lint1/msg_299.c \
    src/tests/usr.bin/xlint/lint1/msg_300.c \
    src/tests/usr.bin/xlint/lint1/msg_301.c \
    src/tests/usr.bin/xlint/lint1/msg_302.c \
    src/tests/usr.bin/xlint/lint1/msg_303.c \
    src/tests/usr.bin/xlint/lint1/msg_304.c \
    src/tests/usr.bin/xlint/lint1/msg_305.c \
    src/tests/usr.bin/xlint/lint1/msg_306.c \
    src/tests/usr.bin/xlint/lint1/msg_307.c \
    src/tests/usr.bin/xlint/lint1/msg_309.c \
    src/tests/usr.bin/xlint/lint1/msg_310.c \
    src/tests/usr.bin/xlint/lint1/msg_311.c \
    src/tests/usr.bin/xlint/lint1/msg_312.c \
    src/tests/usr.bin/xlint/lint1/msg_313.c \
    src/tests/usr.bin/xlint/lint1/msg_314.c \
    src/tests/usr.bin/xlint/lint1/msg_315.c \
    src/tests/usr.bin/xlint/lint1/msg_316.c \
    src/tests/usr.bin/xlint/lint1/msg_317.c \
    src/tests/usr.bin/xlint/lint1/msg_318.c \
    src/tests/usr.bin/xlint/lint1/msg_319.c \
    src/tests/usr.bin/xlint/lint1/msg_320.c \
    src/tests/usr.bin/xlint/lint1/msg_321.c \
    src/tests/usr.bin/xlint/lint1/msg_322.c \
    src/tests/usr.bin/xlint/lint1/msg_323.c \
    src/tests/usr.bin/xlint/lint1/msg_325.c \
    src/tests/usr.bin/xlint/lint1/msg_326.c \
    src/tests/usr.bin/xlint/lint1/msg_327.c \
    src/tests/usr.bin/xlint/lint1/msg_328.c
cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/lint1/d_c99_union_cast.c \
    src/tests/usr.bin/xlint/lint1/d_cvt_constant.c \
    src/tests/usr.bin/xlint/lint1/d_gcc_extension.c \
    src/tests/usr.bin/xlint/lint1/d_long_double_int.c \
    src/tests/usr.bin/xlint/lint1/d_struct_init_nested.c \
    src/tests/usr.bin/xlint/lint1/msg_011.c
cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/xlint/lint1/d_constant_conv1.c \
    src/tests/usr.bin/xlint/lint1/d_constant_conv2.c \
    src/tests/usr.bin/xlint/lint1/d_fold_test.c \
    src/tests/usr.bin/xlint/lint1/d_incorrect_array_size.c \
    src/tests/usr.bin/xlint/lint1/d_lint_assert.c \
    src/tests/usr.bin/xlint/lint1/d_return_type.c \
    src/tests/usr.bin/xlint/lint1/d_type_conv1.c \
    src/tests/usr.bin/xlint/lint1/d_type_conv2.c \
    src/tests/usr.bin/xlint/lint1/d_type_conv3.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