tests: Restore tests that were commented out by buggy commit.
authorBen Pfaff <blp@cs.stanford.edu>
Thu, 17 Dec 2020 06:41:06 +0000 (22:41 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Thu, 17 Dec 2020 07:49:32 +0000 (23:49 -0800)
These were commented out by commit 691a034d7f21 ("Add copyright and
licence notices to files which lack them.").  Subsequent commit
691a034d7f21 ("Add copyright and licence notices to files which lack
them.") fixed some but not all of the bugs.  I think that this
commit fixes the rest.

Also, fix the one test that was broken in the meantime.

tests/language/data-io/add-files.at
tests/language/data-io/update.at
tests/language/expressions/evaluate.at

index 384b968a62fe47b9b6d9d5f957e6a1d8318ada91..203004bdac7ec6db1ca5d6bbd1080bf51c953803 100644 (file)
@@ -13,7 +13,7 @@ dnl GNU General Public License for more details.
 dnl
 dnl You should have received a copy of the GNU General Public License
 dnl along with this program.  If not, see <http://www.gnu.org/licenses/>.
-dnl m4_define([CHECK_ADD_FILES],
+m4_define([CHECK_ADD_FILES],
   [AT_SETUP([ADD FILES -- $1 $2 with $3])
    AT_DATA([a.data], [dnl
 1aB
index 661b5a1e342b722c55b9dddac80287fc1156190f..b2a8ba8b676ecd9d4971c7bb12c82bf50b1d01e2 100644 (file)
@@ -13,7 +13,7 @@ dnl GNU General Public License for more details.
 dnl
 dnl You should have received a copy of the GNU General Public License
 dnl along with this program.  If not, see <http://www.gnu.org/licenses/>.
-dnl m4_define([CHECK_UPDATE],
+m4_define([CHECK_UPDATE],
   [AT_SETUP([UPDATE $1 with $2])
    AT_DATA([a.data], [dnl
 1aB
@@ -56,7 +56,7 @@ m4_if([$2], [sav], [], [DATA LIST NOTABLE FILE='b.data' /a b c 1-3 (A).])
 UPDATE
     m4_if([$1], [sav], [FILE='a.sav'], [FILE=*]) /IN=InA /SORT
     m4_if([$2], [sav], [FILE='b.sav'], [FILE=*]) /IN=InB /RENAME c=d
-    BY a.
+    /BY a.
 LIST.
 ])
    cat update.sps
index 52123c75adbab510844ceeb38a8ecfce885ff015..d9e532e1d33df932a3e2b0605c8368cdd89cfec8 100644 (file)
@@ -13,7 +13,7 @@ dnl GNU General Public License for more details.
 dnl
 dnl You should have received a copy of the GNU General Public License
 dnl along with this program.  If not, see <http://www.gnu.org/licenses/>.
-dnl m4_define([CHECK_EXPR_EVAL],
+m4_define([CHECK_EXPR_EVAL],
   [AT_SETUP([expressions - $1])
    AT_DATA([evaluate.sps],
      [set mxwarn 1000.