Skip to content

Commit ad00016

Browse files
committed
Add pil21 support. Improve test speed by removing some colour output
1 parent 99dc66b commit ad00016

File tree

6 files changed

+9
-7
lines changed

6 files changed

+9
-7
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
arch: ['src', 'src64']
15-
version: ['17.12', '18.6', '18.12', '19.6', '19.12', '20.6', 'latest']
15+
version: ['17.12', '18.6', '18.12', '19.6', '19.12', '20.6', 'latest', 'pil21']
1616

1717
steps:
1818
- uses: actions/checkout@v1

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 3.1.0 (2020-09-10)
4+
5+
* Remove colour of output for 'passed' tests in default reporter, 10x speed increase when tests pass
6+
* Update supported PicoLisp versions to 19.6, 19.12, 20.6, pil21
7+
38
## 3.0.0 (2019-04-19)
49

510
* Add Makefile for testing the library

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Please read [EXPLAIN.md](EXPLAIN.md) to learn more about PicoLisp and this Unit
2121

2222
# Requirements
2323

24-
* PicoLisp 32-bit or 64-bit `v3.1.9+`
24+
* PicoLisp 32-bit or 64-bit `v3.1.9+`, or `pil21`
2525
* Tested up to PicoLisp `v20.6.29`, [see test runs](https://github.com/aw/picolisp-unit/commit/1a455ba10058dffacfb3d4ef930c89ee82a57a83/checks)
2626

2727
# Getting Started

module.l

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[de MODULE_INFO
22
("name" "unit")
3-
("version" "3.0.0")
3+
("version" "3.1.0")
44
("summary" "Unit Testing framework for PicoLisp")
55
("source" "https://github.com/aw/picolisp-unit.git")
66
("author" "Alexander Williams")

reporters/default.l

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,8 @@
3636
(exit-gracefully Failed_results) ]
3737

3838
[de print-passed @
39-
(prinl (colour "green")
40-
(char (hex "2713"))
39+
(prinl (char (hex "2713"))
4140
(align 2 " ")
42-
(colour)
4341
(next) ) ]
4442

4543
[de print-failed (Message)

test.l

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@
44

55
(chdir "test/"
66
(mapcar load '("test_internal.l" "test_unit.l" `(pack "test_reporter_" (if (sys "TEST_REPORTER") @ "default") ".l"))) )
7-
# (mapcar load (filter '((N) (sub? "test_" N)) (dir "."))) ) # almost same as above
87

98
(report)

0 commit comments

Comments
 (0)