Source-Changes-HG archive

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

[src/trunk]: src/tests/usr.bin/xlint/lint1 lint: remove a bit of redundancy f...



details:   https://anonhg.NetBSD.org/src/rev/23650876325b
branches:  trunk
changeset: 979507:23650876325b
user:      rillig <rillig%NetBSD.org@localhost>
date:      Wed Dec 30 13:42:19 2020 +0000

description:
lint: remove a bit of redundancy from the test suite

diffstat:

 tests/usr.bin/xlint/lint1/t_integration.sh |  12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diffs (35 lines):

diff -r e655beb62e44 -r 23650876325b tests/usr.bin/xlint/lint1/t_integration.sh
--- a/tests/usr.bin/xlint/lint1/t_integration.sh        Wed Dec 30 13:41:27 2020 +0000
+++ b/tests/usr.bin/xlint/lint1/t_integration.sh        Wed Dec 30 13:42:19 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_integration.sh,v 1.13 2020/12/30 13:15:07 rillig Exp $
+# $NetBSD: t_integration.sh,v 1.14 2020/12/30 13:42:19 rillig Exp $
 #
 # Copyright (c) 2008, 2010 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -83,13 +83,11 @@
 test_case c99_union_init1
 test_case c99_union_init2
 test_case c99_union_init3
-test_case c99_recursive_init   "Checks C99 recursive struct/union" \
-                               "initialization"
-test_case c9x_recursive_init   "Checks C9X struct/union member" \
-                               "init, with nested union and trailing member"
+test_case c99_recursive_init
+test_case c9x_recursive_init
 test_case nested_structs
 test_case packed_structs
-test_case struct_init_nested   "Initialization of nested structures"
+test_case struct_init_nested
 
 test_case cast_init
 test_case cast_init2           "Checks cast initialization as the rhs of a" \
@@ -139,7 +137,7 @@
 test_case type_conv3           "Checks failing on information-losing" \
                                "type conversion in argument lists"
 
-test_case incorrect_array_size "Checks failing on incorrect array sizes"
+test_case incorrect_array_size
 
 test_case long_double_int      "Checks for confusion of 'long double' with" \
                                "'long int'; PR bin/39639"



Home | Main Index | Thread Index | Old Index