From 545089869bb14cd65b2eaabe9876c4f2f9f1f7d5 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 16 Dec 2020 22:41:06 -0800 Subject: [PATCH] tests: Restore tests that were commented out by buggy commit. 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 | 2 +- tests/language/data-io/update.at | 4 ++-- tests/language/expressions/evaluate.at | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/language/data-io/add-files.at b/tests/language/data-io/add-files.at index 384b968a62..203004bdac 100644 --- a/tests/language/data-io/add-files.at +++ b/tests/language/data-io/add-files.at @@ -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 . -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 diff --git a/tests/language/data-io/update.at b/tests/language/data-io/update.at index 661b5a1e34..b2a8ba8b67 100644 --- a/tests/language/data-io/update.at +++ b/tests/language/data-io/update.at @@ -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 . -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 diff --git a/tests/language/expressions/evaluate.at b/tests/language/expressions/evaluate.at index 52123c75ad..d9e532e1d3 100644 --- a/tests/language/expressions/evaluate.at +++ b/tests/language/expressions/evaluate.at @@ -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 . -dnl m4_define([CHECK_EXPR_EVAL], +m4_define([CHECK_EXPR_EVAL], [AT_SETUP([expressions - $1]) AT_DATA([evaluate.sps], [set mxwarn 1000. -- 2.30.2