[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/9] tests: beware of version numbers from git describe
From: |
Akim Demaille |
Subject: |
[PATCH 1/9] tests: beware of version numbers from git describe |
Date: |
Sun, 12 Jul 2020 19:23:10 +0200 |
* tests/report.at: Be robust to version numbers such as
3.6.4.133-fbac-dirty.
---
tests/report.at | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/report.at b/tests/report.at
index e6a30dd7..e9695cf3 100644
--- a/tests/report.at
+++ b/tests/report.at
@@ -1142,7 +1142,7 @@ if test x"$XSLTPROC" != x""; then
AT_CHECK([[$XSLTPROC \
`]]AT_SET_ENV[[ bison --print-datadir`/xslt/xml2xhtml.xsl \
input.xml | \
- sed -e 's/GNU Bison [0-9][0-9.]*/GNU Bison VERSION/' \
+ sed -e 's/GNU Bison [0-9][-.0-9a-z]*/GNU Bison VERSION/' \
>input.html]])
AT_CHECK([cat input.html], [],
@@ -2097,7 +2097,7 @@ if test x"$XSLTPROC" != x""; then
AT_CHECK([[$XSLTPROC \
`]]AT_SET_ENV[[ bison --print-datadir`/xslt/xml2xhtml.xsl \
input.xml | \
- sed -e 's/GNU Bison [0-9][0-9.]*/GNU Bison VERSION/' \
+ sed -e 's/GNU Bison [0-9][-.0-9a-z]*/GNU Bison VERSION/' \
>input.html]])
AT_CHECK([cat input.html], [],
--
2.27.0
- [PATCH 0/9] cex: shift derivation vs reduce derivation, Akim Demaille, 2020/07/12
- [PATCH 1/9] tests: beware of version numbers from git describe,
Akim Demaille <=
- [PATCH 2/9] cex: minor style changes, Akim Demaille, 2020/07/12
- [PATCH 3/9] cex: use better type names, Akim Demaille, 2020/07/12
- [PATCH 4/9] cex: minor renaming, Akim Demaille, 2020/07/12
- [PATCH 5/9] cex: more consistent memory allocation/copy, Akim Demaille, 2020/07/12
- [PATCH 6/9] cex: use state_item_number consistently, Akim Demaille, 2020/07/12
- [PATCH 7/9] cex: factor memory allocation, Akim Demaille, 2020/07/12
- [PATCH 8/9] style: s/lookahead_tokens/lookaheads/g, Akim Demaille, 2020/07/12
- [PATCH 9/9] cex: display shifts before reductions, Akim Demaille, 2020/07/12