[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] testsuite/Makefile.am: Use custom INPUTRC config for readline
From: |
Mohammad-Reza Nabipoor |
Subject: |
[PATCH] testsuite/Makefile.am: Use custom INPUTRC config for readline |
Date: |
Sun, 24 Jan 2021 20:26:44 +0330 |
Bracketed paste mode is enabled by default in readline-8.1. This
breaks REPL tests in testsuite/poke.repl. So we need to disable
this feature explicitly by using a custom INPUTRC.
2021-01-24 Mohammad-Reza Nabipoor <m.nabipoor@yahoo.com>
* testsuite/Makefile.am (check-DEJAGNU): Set INPUTRC. Use custom
INPUTRC config file to explicitly disable bracketed paste mode in
readline library.
---
ChangeLog | 6 ++++++
testsuite/Makefile.am | 2 ++
2 files changed, 8 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index d0602201..be7c6be8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2021-01-24 Mohammad-Reza Nabipoor <m.nabipoor@yahoo.com>
+
+ * testsuite/Makefile.am (check-DEJAGNU): Set INPUTRC. Use custom
+ INPUTRC config file to explicitly disable bracketed paste mode in
+ readline library.
+
2021-01-03 Jose E. Marchesi <jemarch@gnu.org>
* etc/poke.rec (Support nested integral structs): Do not schedule
diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
index 6af89ad7..140eef95 100644
--- a/testsuite/Makefile.am
+++ b/testsuite/Makefile.am
@@ -22,9 +22,11 @@ check-DEJAGNU: site.exp
EXPECT=$(EXPECT); export EXPECT; \
runtest=$(RUNTEST); \
if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
+ echo set enable-bracketed-paste off > "$(top_builddir)/inputrc"; \
CC_FOR_TARGET="$(CC_FOR_TARGET)" CFLAGS_FOR_TARGET="$(CFLAGS)" \
HAVE_LIBTEXTSTYLE="$(HAVE_LIBTEXTSTYLE)" \
NBDKIT="$(NBDKIT)" \
+ INPUTRC="$(top_builddir)/inputrc" \
POKESTYLESDIR="$(top_srcdir)/etc" \
POKEPICKLESDIR="$(top_srcdir)/pickles" \
POKEDATADIR="$(top_srcdir)/libpoke" \
--
2.30.0
- [PATCH] testsuite/Makefile.am: Use custom INPUTRC config for readline,
Mohammad-Reza Nabipoor <=