Skip to content

Commit 60ba1fd

Browse files
committed
finalise 1.11
1 parent eef001a commit 60ba1fd

File tree

5 files changed

+18
-36
lines changed

5 files changed

+18
-36
lines changed

ANNOUNCE

Lines changed: 10 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,23 @@
1-
I'm pleased to announce shelltestrunner 1.10 !
1+
I'm pleased to announce shelltestrunner 1.11 !
22

33
shelltestrunner (executable: `shelltest`) is a portable, GPLv3+
44
command-line tool for testing command-line programs or shell commands.
5-
It reads simple test specifications defining a command to run, some
6-
input, and the expected output, stderr, and exit status.
5+
It reads simple test specifications defining a command to run,
6+
some input, and the expected output, stderr, and exit status.
77
It can run tests in parallel, selectively, with a timeout, in color, etc.
88

9-
The last release was 1.9, in 2018. The 1.10 release has been overdue;
10-
it brings some useful improvements, notably --print mode (with which
11-
you can convert old format 1 tests to the cleaner, recommended format 3),
12-
and precise line number reporting (to quickly locate the failing test).
9+
Changes in this release:
1310

14-
User-visible changes in 1.10 (2023-09-12):
15-
16-
* GHC 9.6 compatibility (Andreas Abel)
17-
* Add --print for printing tests and/or converting file format (#24, Jakob Schöttl)
18-
* Add --shell option to select shell (#17, FC Stegerman)
19-
* Fix format1's handling of angle brackets in test data (#16)
20-
* Print test line number on failure (#14, Taavi Väljaots)
21-
* Add -p short flag for --precise
22-
* -h means --help, not --hide-successes
23-
* Clarify 300 char regex limit message
24-
25-
Other changes:
26-
27-
* Set up CI testing (#18 FC Stegerman, Simon Michael)
28-
* Improve bash-related tests (#20, FC Stegerman, Simon Michael)
29-
* Improved tests
30-
31-
Thanks to release contributors:
32-
Jakob Schöttl, Taavi Väljaots, Felix C. Stegerman, and Andreas Abel.
11+
* Build with more recent GHCs, CI updates. (Simon Michael)
12+
* Fixed: -i1 was not selecting the test if the file contained only one test ([#37], Thomas Miedema)
3313

3414
Install:
3515

36-
$ stack install shelltestrunner-1.10
16+
$ stack install shelltestrunner-1.11
3717

3818
or:
3919

40-
$ cabal update && cabal install shelltestrunner-1.10
20+
$ cabal update && cabal install shelltestrunner-1.11
21+
4122

42-
Home: https://github.com/simonmichael/shelltestrunner
23+
https://github.com/simonmichael/shelltestrunner

CHANGES

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
1.11 (unreleased)
1+
1.11 (2025-11-17)
22

3+
* Build with more recent GHCs, CI updates. (Simon Michael)
34
* Fixed: -i1 was not selecting the test if the file contained only one test ([#37], Thomas Miedema)
45

56
1.10 (2023-09-12)

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ Or, build the latest release on any major platform:
3232

3333
|||
3434
|----------------|---------------------------------------
35-
| stack: | **[get stack](https://docs.haskellstack.org)**, **`stack install shelltestrunner-1.10`**
36-
| cabal: | **`cabal update; cabal install shelltestrunner-1.10`**
35+
| stack: | **[get stack](https://docs.haskellstack.org)**, **`stack install shelltestrunner-1.11`**
36+
| cabal: | **`cabal update; cabal install shelltestrunner-1.11`**
3737

3838
## Usage
3939

@@ -96,7 +96,7 @@ There are also some alternate test formats you'll read about below.
9696

9797
<!-- shelltest --help | sed -e '/^shelltest file formats/,$d' -->
9898
```
99-
shelltest 1.10
99+
shelltest 1.11
100100
101101
shelltest [OPTIONS] [TESTFILES|TESTDIRS]
102102
@@ -130,7 +130,6 @@ Print test file:
130130
-h --help Display help message
131131
-V --version Print version information
132132
--numeric-version Print just the version number
133-
134133
```
135134

136135
`shelltest` accepts one or more test file or directory arguments.

shelltestrunner.cabal

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cabal-version: 3.0
22
name: shelltestrunner
33
-- keep synced: shelltest.hs
4-
version: 1.10.99
4+
version: 1.11
55
synopsis: Easy, repeatable testing of CLI programs/commands
66
description:
77
shelltestrunner (executable: shelltest) is a portable
@@ -48,6 +48,7 @@ extra-source-files:
4848
tests/format3.windows/*.test
4949
tests/format3/*.test
5050
tests/format3/abstract-test-with-macros
51+
5152
tests/format3/one-failing-test
5253

5354
-- These are also copied to haddock docs.

src/shelltest.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import Preprocessor
3737

3838
progname, progversion :: String
3939
progname = "shelltest"
40-
progversion = progname ++ " " ++ "1.10"
40+
progversion = progname ++ " " ++ "1.11"
4141
proghelpsuffix :: [String]
4242
proghelpsuffix = [
4343
"shelltest file formats, tried in this order:"

0 commit comments

Comments
 (0)