Skip to content

Commit

Permalink
Add pil21 support. Improve test speed by removing some colour output
Browse files Browse the repository at this point in the history
  • Loading branch information
aw committed Sep 10, 2020
1 parent 99dc66b commit ad00016
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
arch: ['src', 'src64']
version: ['17.12', '18.6', '18.12', '19.6', '19.12', '20.6', 'latest']
version: ['17.12', '18.6', '18.12', '19.6', '19.12', '20.6', 'latest', 'pil21']

steps:
- uses: actions/checkout@v1
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 3.1.0 (2020-09-10)

* Remove colour of output for 'passed' tests in default reporter, 10x speed increase when tests pass
* Update supported PicoLisp versions to 19.6, 19.12, 20.6, pil21

## 3.0.0 (2019-04-19)

* Add Makefile for testing the library
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Please read [EXPLAIN.md](EXPLAIN.md) to learn more about PicoLisp and this Unit

# Requirements

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

# Getting Started
Expand Down
2 changes: 1 addition & 1 deletion module.l
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[de MODULE_INFO
("name" "unit")
("version" "3.0.0")
("version" "3.1.0")
("summary" "Unit Testing framework for PicoLisp")
("source" "https://github.com/aw/picolisp-unit.git")
("author" "Alexander Williams")
Expand Down
4 changes: 1 addition & 3 deletions reporters/default.l
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,8 @@
(exit-gracefully Failed_results) ]

[de print-passed @
(prinl (colour "green")
(char (hex "2713"))
(prinl (char (hex "2713"))
(align 2 " ")
(colour)
(next) ) ]

[de print-failed (Message)
Expand Down
1 change: 0 additions & 1 deletion test.l
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@

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

(report)

0 comments on commit ad00016

Please sign in to comment.