From 2f6f5d7ac46647f5d3184aff54f7d094325bb0e2 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Wed, 17 Dec 2003 01:08:29 +0000 Subject: [PATCH] Added a couple more tests --- tests/Makefile.am | 5 +++-- tests/data-list.stat | 24 ------------------------ tests/expect/data-list.stat | 17 ----------------- tests/expect/loop.stat | 1 - 4 files changed, 3 insertions(+), 44 deletions(-) delete mode 100644 tests/data-list.stat delete mode 100644 tests/expect/data-list.stat delete mode 100644 tests/expect/loop.stat diff --git a/tests/Makefile.am b/tests/Makefile.am index 60f81fce..69e929d3 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -7,6 +7,7 @@ TESTS = command/aggregate.sh \ command/bignum.sh \ command/count.sh \ command/descriptives.sh \ + command/file-label.sh \ command/flip.sh \ command/lag.sh \ command/loop.sh \ @@ -27,8 +28,8 @@ sort.data: gengarbage$(EXTEXT) EXTRA_DIST = \ compute.stat crosstabs.stat data-fmts.stat \ -data-list.data data-list.stat do-if.stat do-repeat.stat \ -expr.stat file-lab.stat filter.stat gengarbage.c \ +data-list.data do-if.stat do-repeat.stat \ +expr.stat filter.stat gengarbage.c \ inpt-pgm.stat list.data list.stat mtch-file.stat \ means.stat mdfy-vars.stat pcs-if.stat recode.stat \ repeating.stat reread.data reread.stat \ diff --git a/tests/data-list.stat b/tests/data-list.stat deleted file mode 100644 index 5df73cbf..00000000 --- a/tests/data-list.stat +++ /dev/null @@ -1,24 +0,0 @@ -title 'Test DATA LIST FREE and DATA LIST LIST'. - -remark EOF ----------------------------------------------------------------------- -There is no test for DATA LIST FIXED since it is imagined that the -rest of the tests give it a pretty good workout. ----------------------------------------------------------------------- -EOF -remark EOF ----------------------------------------------------------------------- -Testing use of DATA LIST FREE. ----------------------------------------------------------------------- -EOF -data list free table file='data-list.data'/A(A8) B C D. -list. - -remark EOF ----------------------------------------------------------------------- -Testing use of DATA LIST LIST. ----------------------------------------------------------------------- -EOF -data list list table file='data-list.data'/A(A8) B C D. -list. - diff --git a/tests/expect/data-list.stat b/tests/expect/data-list.stat deleted file mode 100644 index 651bbc3d..00000000 --- a/tests/expect/data-list.stat +++ /dev/null @@ -1,17 +0,0 @@ -data-list.data:2: warning: LIST: Missing value(s) for all variables from C - onward. These will be filled with the system-missing value or blanks, - as appropriate. -data-list.data:3: warning: LIST: Missing value(s) for all variables from B - onward. These will be filled with the system-missing value or blanks, - as appropriate. -data-list.data:4: error: (columns 3-12, field type F8.0) Field does not form a - valid floating-point constant. -data-list.data:4: warning: LIST: Missing value(s) for all variables from C - onward. These will be filled with the system-missing value or blanks, - as appropriate. -data-list.data:5: warning: LIST: Missing value(s) for all variables from C - onward. These will be filled with the system-missing value or blanks, - as appropriate. -data-list.data:6: warning: LIST: Missing value(s) for all variables from B - onward. These will be filled with the system-missing value or blanks, - as appropriate. diff --git a/tests/expect/loop.stat b/tests/expect/loop.stat deleted file mode 100644 index 6e3b4239..00000000 --- a/tests/expect/loop.stat +++ /dev/null @@ -1 +0,0 @@ --:12: warning: BREAK: BREAK not enclosed in DO IF structure. -- 2.30.2