Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/usr.bin/indent tests/indent: remove redundant tests fo...
details: https://anonhg.NetBSD.org/src/rev/926ff2335870
branches: trunk
changeset: 989889:926ff2335870
user: rillig <rillig%NetBSD.org@localhost>
date: Mon Oct 18 23:01:10 2021 +0000
description:
tests/indent: remove redundant tests for '-ncs' and '-pcs'
These tests are already covered by opt_cs.c and opt_pcs.c.
diffstat:
distrib/sets/lists/tests/mi | 14 +++++++-------
tests/usr.bin/indent/Makefile | 8 +-------
tests/usr.bin/indent/ncs.0 | 5 -----
tests/usr.bin/indent/ncs.0.pro | 3 ---
tests/usr.bin/indent/ncs.0.stdout | 7 -------
tests/usr.bin/indent/pcs.0 | 8 --------
tests/usr.bin/indent/pcs.0.pro | 3 ---
tests/usr.bin/indent/pcs.0.stdout | 10 ----------
8 files changed, 8 insertions(+), 50 deletions(-)
diffs (124 lines):
diff -r 2cace02de42b -r 926ff2335870 distrib/sets/lists/tests/mi
--- a/distrib/sets/lists/tests/mi Mon Oct 18 22:46:33 2021 +0000
+++ b/distrib/sets/lists/tests/mi Mon Oct 18 23:01:10 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1146 2021/10/18 22:46:33 rillig Exp $
+# $NetBSD: mi,v 1.1147 2021/10/18 23:01:10 rillig Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@@ -4773,9 +4773,9 @@
./usr/tests/usr.bin/indent/lineno.0.stdout tests-usr.bin-tests compattestfile,atf
./usr/tests/usr.bin/indent/list_head.0 tests-usr.bin-tests compattestfile,atf
./usr/tests/usr.bin/indent/list_head.0.stdout tests-usr.bin-tests compattestfile,atf
-./usr/tests/usr.bin/indent/ncs.0 tests-usr.bin-tests compattestfile,atf
-./usr/tests/usr.bin/indent/ncs.0.pro tests-usr.bin-tests compattestfile,atf
-./usr/tests/usr.bin/indent/ncs.0.stdout tests-usr.bin-tests compattestfile,atf
+./usr/tests/usr.bin/indent/ncs.0 tests-obsolete obsolete,atf
+./usr/tests/usr.bin/indent/ncs.0.pro tests-obsolete obsolete,atf
+./usr/tests/usr.bin/indent/ncs.0.stdout tests-obsolete obsolete,atf
./usr/tests/usr.bin/indent/offsetof.0 tests-usr.bin-tests compattestfile,atf
./usr/tests/usr.bin/indent/offsetof.0.stdout tests-usr.bin-tests compattestfile,atf
./usr/tests/usr.bin/indent/opt--version.0 tests-usr.bin-tests compattestfile,atf
@@ -5020,9 +5020,9 @@
./usr/tests/usr.bin/indent/parens.0 tests-usr.bin-tests compattestfile,atf
./usr/tests/usr.bin/indent/parens.0.pro tests-usr.bin-tests compattestfile,atf
./usr/tests/usr.bin/indent/parens.0.stdout tests-usr.bin-tests compattestfile,atf
-./usr/tests/usr.bin/indent/pcs.0 tests-usr.bin-tests compattestfile,atf
-./usr/tests/usr.bin/indent/pcs.0.pro tests-usr.bin-tests compattestfile,atf
-./usr/tests/usr.bin/indent/pcs.0.stdout tests-usr.bin-tests compattestfile,atf
+./usr/tests/usr.bin/indent/pcs.0 tests-obsolete obsolete,atf
+./usr/tests/usr.bin/indent/pcs.0.pro tests-obsolete obsolete,atf
+./usr/tests/usr.bin/indent/pcs.0.stdout tests-obsolete obsolete,atf
./usr/tests/usr.bin/indent/ps_ind_level.0 tests-obsolete obsolete,atf
./usr/tests/usr.bin/indent/ps_ind_level.0.pro tests-obsolete obsolete,atf
./usr/tests/usr.bin/indent/ps_ind_level.0.stdout tests-obsolete obsolete,atf
diff -r 2cace02de42b -r 926ff2335870 tests/usr.bin/indent/Makefile
--- a/tests/usr.bin/indent/Makefile Mon Oct 18 22:46:33 2021 +0000
+++ b/tests/usr.bin/indent/Makefile Mon Oct 18 23:01:10 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2021/10/18 22:46:33 rillig Exp $
+# $NetBSD: Makefile,v 1.22 2021/10/18 23:01:10 rillig Exp $
.include <bsd.own.mk>
@@ -37,9 +37,6 @@
FILES+= lineno.0.stdout
FILES+= list_head.0
FILES+= list_head.0.stdout
-FILES+= ncs.0
-FILES+= ncs.0.stdout
-FILES+= ncs.0.pro
FILES+= offsetof.0
FILES+= offsetof.0.stdout
FILES+= opt--version.0
@@ -134,9 +131,6 @@
FILES+= parens.0
FILES+= parens.0.stdout
FILES+= parens.0.pro
-FILES+= pcs.0
-FILES+= pcs.0.stdout
-FILES+= pcs.0.pro
FILES+= ps_ind_level.c
FILES+= struct.0
FILES+= struct.0.stdout
diff -r 2cace02de42b -r 926ff2335870 tests/usr.bin/indent/ncs.0
--- a/tests/usr.bin/indent/ncs.0 Mon Oct 18 22:46:33 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-/* $NetBSD: ncs.0,v 1.1 2019/04/04 15:27:35 kamil Exp $ */
-/* $FreeBSD: head/usr.bin/indent/tests/ncs.0 334944 2018-06-11 05:35:57Z pstef $ */
-void t(void) {
- int a = (double) 8;
-}
diff -r 2cace02de42b -r 926ff2335870 tests/usr.bin/indent/ncs.0.pro
--- a/tests/usr.bin/indent/ncs.0.pro Mon Oct 18 22:46:33 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/* $NetBSD: ncs.0.pro,v 1.1 2019/04/04 15:27:35 kamil Exp $ */
-/* $FreeBSD: head/usr.bin/indent/tests/ncs.0.pro 334944 2018-06-11 05:35:57Z pstef $ */
--ncs
diff -r 2cace02de42b -r 926ff2335870 tests/usr.bin/indent/ncs.0.stdout
--- a/tests/usr.bin/indent/ncs.0.stdout Mon Oct 18 22:46:33 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-/* $NetBSD: ncs.0.stdout,v 1.1 2019/04/04 15:27:35 kamil Exp $ */
-/* $FreeBSD: head/usr.bin/indent/tests/ncs.0.stdout 334944 2018-06-11 05:35:57Z pstef $ */
-void
-t(void)
-{
- int a = (double)8;
-}
diff -r 2cace02de42b -r 926ff2335870 tests/usr.bin/indent/pcs.0
--- a/tests/usr.bin/indent/pcs.0 Mon Oct 18 22:46:33 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-/* $NetBSD: pcs.0,v 1.1 2019/04/04 15:27:35 kamil Exp $ */
-/* $FreeBSD: head/usr.bin/indent/tests/pcs.0 334493 2018-06-01 19:56:41Z pstef $ */
-#include <stdio.h>
-
-int main(void) {
- puts("Hello");
- return 0;
-}
diff -r 2cace02de42b -r 926ff2335870 tests/usr.bin/indent/pcs.0.pro
--- a/tests/usr.bin/indent/pcs.0.pro Mon Oct 18 22:46:33 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/* $NetBSD: pcs.0.pro,v 1.1 2019/04/04 15:27:35 kamil Exp $ */
-/* $FreeBSD: head/usr.bin/indent/tests/pcs.0.pro 334493 2018-06-01 19:56:41Z pstef $ */
--pcs
diff -r 2cace02de42b -r 926ff2335870 tests/usr.bin/indent/pcs.0.stdout
--- a/tests/usr.bin/indent/pcs.0.stdout Mon Oct 18 22:46:33 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-/* $NetBSD: pcs.0.stdout,v 1.1 2019/04/04 15:27:35 kamil Exp $ */
-/* $FreeBSD: head/usr.bin/indent/tests/pcs.0.stdout 334493 2018-06-01 19:56:41Z pstef $ */
-#include <stdio.h>
-
-int
-main(void)
-{
- puts ("Hello");
- return 0;
-}
Home |
Main Index |
Thread Index |
Old Index