From 9d55249bf0b7c355aeb44ac805d79dd1452e39d5 Mon Sep 17 00:00:00 2001 From: Stanislav Pankevich Date: Thu, 23 Apr 2020 23:36:23 +0200 Subject: [PATCH 1/3] .bumpversion.cfg: fix version test --- .bumpversion.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 100bf8f..f79756a 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -11,7 +11,7 @@ replace = version = "{new_version}" search = __version__ = '{current_version}' replace = __version__ = '{new_version}' -[bumpversion:file:tests/integration/tests/py-only/version/sample.itest-py] +[bumpversion:file:tests/integration/tests/py-only/version/sample.itest] search = Version: {current_version} replace = Version: {new_version} From 35da7b88132ebf94d56e558aae28666d4ac8d6b6 Mon Sep 17 00:00:00 2001 From: Stanislav Pankevich Date: Thu, 23 Apr 2020 23:36:34 +0200 Subject: [PATCH 2/3] =?UTF-8?q?Bump=20version:=200.0.13=20=E2=86=92=200.0.?= =?UTF-8?q?14?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .bumpversion.cfg | 2 +- filecheck/FileCheck.py | 2 +- pyproject.toml | 2 +- tests/integration/tests/py-only/version/sample.itest | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index f79756a..b743c10 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.0.13 +current_version = 0.0.14 commit = True tag = True diff --git a/filecheck/FileCheck.py b/filecheck/FileCheck.py index 375142a..e1bfd1a 100755 --- a/filecheck/FileCheck.py +++ b/filecheck/FileCheck.py @@ -9,7 +9,7 @@ from difflib import SequenceMatcher from enum import Enum -__version__ = '0.0.13' +__version__ = '0.0.14' class FailedCheck: diff --git a/pyproject.toml b/pyproject.toml index 6c5401c..78c6724 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "filecheck" -version = "0.0.13" +version = "0.0.14" description = "Python port of LLVM's FileCheck, flexible pattern matching file verifier" authors = ["Stanislav Pankevich "] diff --git a/tests/integration/tests/py-only/version/sample.itest b/tests/integration/tests/py-only/version/sample.itest index f17bd3d..3c395c9 100644 --- a/tests/integration/tests/py-only/version/sample.itest +++ b/tests/integration/tests/py-only/version/sample.itest @@ -1,4 +1,4 @@ ; RUN: %FILECHECK_EXEC --version | %FILECHECK_TESTER_EXEC %s --match-full-lines ; CHECK: {{^.*}}FileCheck{{(\.py)?$}} -; CHECK: Version: 0.0.13 +; CHECK: Version: 0.0.14 ; CHECK-EMPTY: From b880cec39185496e629361dbfb55adc74c5cc615 Mon Sep 17 00:00:00 2001 From: Stanislav Pankevich Date: Thu, 23 Apr 2020 23:38:54 +0200 Subject: [PATCH 3/3] Regenerate CHANGELOG --- CHANGELOG.md | 44 +++++++++++++++++++++++++++++++++++++++----- 1 file changed, 39 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f208bfc..90034ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,45 @@ # Changelog -## [Unreleased](https://github.com/stanislaw/FileCheck.py/tree/HEAD) +## [v0.0.14](https://github.com/stanislaw/FileCheck.py/tree/v0.0.14) (2020-04-23) -[Full Changelog](https://github.com/stanislaw/FileCheck.py/compare/v0.0.13...HEAD) +[Full Changelog](https://github.com/stanislaw/FileCheck.py/compare/v0.0.13...v0.0.14) + +**Implemented enhancements:** + +- CI setup [\#34](https://github.com/stanislaw/FileCheck.py/issues/34) + +**Closed issues:** + +- Weird behavior with a leading space character [\#131](https://github.com/stanislaw/FileCheck.py/issues/131) +- CI: set up Actions on Windows [\#112](https://github.com/stanislaw/FileCheck.py/issues/112) +- Switch from Makefile to Invoke [\#102](https://github.com/stanislaw/FileCheck.py/issues/102) **Merged pull requests:** +- Fix --match-full-lines: strip leading and trailing whitespace unless --strict-whitespace [\#132](https://github.com/stanislaw/FileCheck.py/pull/132) ([stanislaw](https://github.com/stanislaw)) +- README: add Windows badge [\#130](https://github.com/stanislaw/FileCheck.py/pull/130) ([stanislaw](https://github.com/stanislaw)) +- lit.cfg: detect shell to fix running on Windows locally [\#129](https://github.com/stanislaw/FileCheck.py/pull/129) ([stanislaw](https://github.com/stanislaw)) +- tests: fix remaining test ?= lines \(part 2\) [\#128](https://github.com/stanislaw/FileCheck.py/pull/128) ([stanislaw](https://github.com/stanislaw)) +- tests: fix remaining test ?= lines [\#127](https://github.com/stanislaw/FileCheck.py/pull/127) ([stanislaw](https://github.com/stanislaw)) +- Edge case test: LLVM vs py: use lit.local.cfg [\#126](https://github.com/stanislaw/FileCheck.py/pull/126) ([stanislaw](https://github.com/stanislaw)) +- tests: remove obsolete first line check [\#125](https://github.com/stanislaw/FileCheck.py/pull/125) ([stanislaw](https://github.com/stanislaw)) +- Rename to work on Windows: cat -\> %cat [\#124](https://github.com/stanislaw/FileCheck.py/pull/124) ([stanislaw](https://github.com/stanislaw)) +- Rename to safer paths: %FILECHECK\_TESTER\_EXEC "%s" [\#123](https://github.com/stanislaw/FileCheck.py/pull/123) ([stanislaw](https://github.com/stanislaw)) +- Rename to safer paths: %FILECHECK\_EXEC "%s" and similar [\#122](https://github.com/stanislaw/FileCheck.py/pull/122) ([stanislaw](https://github.com/stanislaw)) +- Rename to safer paths: %S/filecheck.input -\> "%S/filecheck.input" [\#121](https://github.com/stanislaw/FileCheck.py/pull/121) ([stanislaw](https://github.com/stanislaw)) +- tasks and lit.cfg: adapt for running on Windows [\#120](https://github.com/stanislaw/FileCheck.py/pull/120) ([stanislaw](https://github.com/stanislaw)) +- FileCheck 8.0.1, windows version built from LLVM [\#119](https://github.com/stanislaw/FileCheck.py/pull/119) ([stanislaw](https://github.com/stanislaw)) +- tests: fix output of expect\_exit.py [\#118](https://github.com/stanislaw/FileCheck.py/pull/118) ([stanislaw](https://github.com/stanislaw)) +- tests: expect\_exit.py tool to replace "test $?" [\#117](https://github.com/stanislaw/FileCheck.py/pull/117) ([stanislaw](https://github.com/stanislaw)) +- lit: introduce %cat to abstract the difference cat vs type [\#116](https://github.com/stanislaw/FileCheck.py/pull/116) ([stanislaw](https://github.com/stanislaw)) +- FileCheck 9.0.1, windows version built from LLVM [\#115](https://github.com/stanislaw/FileCheck.py/pull/115) ([stanislaw](https://github.com/stanislaw)) +- tasks: switch to passing parameters to lit with "--param" [\#114](https://github.com/stanislaw/FileCheck.py/pull/114) ([stanislaw](https://github.com/stanislaw)) +- CI: GitHub Actions on Windows setup [\#113](https://github.com/stanislaw/FileCheck.py/pull/113) ([stanislaw](https://github.com/stanislaw)) +- README: add CI badge [\#110](https://github.com/stanislaw/FileCheck.py/pull/110) ([stanislaw](https://github.com/stanislaw)) +- CI setup with GitHub Actions [\#109](https://github.com/stanislaw/FileCheck.py/pull/109) ([stanislaw](https://github.com/stanislaw)) +- Poetry: set Python to 3.5, update bump2version [\#108](https://github.com/stanislaw/FileCheck.py/pull/108) ([stanislaw](https://github.com/stanislaw)) +- Switch from Makefile to Invoke \(closes \#102\) [\#107](https://github.com/stanislaw/FileCheck.py/pull/107) ([stanislaw](https://github.com/stanislaw)) +- Update CHANGELOG [\#106](https://github.com/stanislaw/FileCheck.py/pull/106) ([stanislaw](https://github.com/stanislaw)) - Bump version: 0.0.12 → 0.0.13 [\#105](https://github.com/stanislaw/FileCheck.py/pull/105) ([stanislaw](https://github.com/stanislaw)) ## [v0.0.13](https://github.com/stanislaw/FileCheck.py/tree/v0.0.13) (2020-03-25) @@ -111,10 +145,10 @@ **Merged pull requests:** -- CHECK-NOT: edge case: failing CHECK has higher precedence than failing CHECK-NOT [\#64](https://github.com/stanislaw/FileCheck.py/pull/64) ([stanislaw](https://github.com/stanislaw)) - CHECK-EMPTY: edge case when it matches the end of input but there are more checks to fail [\#62](https://github.com/stanislaw/FileCheck.py/pull/62) ([stanislaw](https://github.com/stanislaw)) - --version: add more details about filecheck [\#61](https://github.com/stanislaw/FileCheck.py/pull/61) ([stanislaw](https://github.com/stanislaw)) - Bump version: 0.0.4 → 0.0.5 [\#60](https://github.com/stanislaw/FileCheck.py/pull/60) ([stanislaw](https://github.com/stanislaw)) +- CHECK-EMPTY: consistent behavior when followed by normal CHECKS [\#58](https://github.com/stanislaw/FileCheck.py/pull/58) ([stanislaw](https://github.com/stanislaw)) ## [v0.0.5](https://github.com/stanislaw/FileCheck.py/tree/v0.0.5) (2019-12-13) @@ -126,13 +160,14 @@ **Merged pull requests:** +- CHECK-NOT: edge case: failing CHECK has higher precedence than failing CHECK-NOT [\#64](https://github.com/stanislaw/FileCheck.py/pull/64) ([stanislaw](https://github.com/stanislaw)) - Fix calculation of the current\_scan\_base [\#59](https://github.com/stanislaw/FileCheck.py/pull/59) ([stanislaw](https://github.com/stanislaw)) -- CHECK-EMPTY: consistent behavior when followed by normal CHECKS [\#58](https://github.com/stanislaw/FileCheck.py/pull/58) ([stanislaw](https://github.com/stanislaw)) - Refactoring: extract checks to a separate function [\#57](https://github.com/stanislaw/FileCheck.py/pull/57) ([stanislaw](https://github.com/stanislaw)) - CHECK-EMPTY: negative match [\#56](https://github.com/stanislaw/FileCheck.py/pull/56) ([stanislaw](https://github.com/stanislaw)) - CHECK-NEXT: negative regex match [\#55](https://github.com/stanislaw/FileCheck.py/pull/55) ([stanislaw](https://github.com/stanislaw)) - Bump version: 0.0.3 → 0.0.4 [\#53](https://github.com/stanislaw/FileCheck.py/pull/53) ([stanislaw](https://github.com/stanislaw)) - Refactoring: remove obsolete code [\#51](https://github.com/stanislaw/FileCheck.py/pull/51) ([stanislaw](https://github.com/stanislaw)) +- Everything what's needed to publish a pip package [\#45](https://github.com/stanislaw/FileCheck.py/pull/45) ([stanislaw](https://github.com/stanislaw)) ## [v0.0.4](https://github.com/stanislaw/FileCheck.py/tree/v0.0.4) (2019-12-08) @@ -165,7 +200,6 @@ **Merged pull requests:** - --help command: remove artifacts introduced by testing [\#47](https://github.com/stanislaw/FileCheck.py/pull/47) ([stanislaw](https://github.com/stanislaw)) -- Everything what's needed to publish a pip package [\#45](https://github.com/stanislaw/FileCheck.py/pull/45) ([stanislaw](https://github.com/stanislaw)) - Help command: enough to get going [\#44](https://github.com/stanislaw/FileCheck.py/pull/44) ([stanislaw](https://github.com/stanislaw)) - Fix some typos [\#43](https://github.com/stanislaw/FileCheck.py/pull/43) ([AlexDenisov](https://github.com/AlexDenisov)) - Add Poetry [\#42](https://github.com/stanislaw/FileCheck.py/pull/42) ([stanislaw](https://github.com/stanislaw))