Skip to content

Commit

Permalink
Fix leaky globals
Browse files Browse the repository at this point in the history
  • Loading branch information
aw committed Mar 24, 2015
1 parent 7b66c8f commit 945d8bd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ language: bash

before_install:
- sudo apt-get update -qq
- sudo apt-get install -y build-essential zlibc make libc6-dev-i386 git-core autoconf libtool clang libxml2-dev
- sudo apt-get install -y build-essential zlibc make autoconf libtool picolisp

before_script:
- wget http://software-lab.de/picoLisp-3.1.9.tgz -O /tmp/picolisp.tgz
- cd /tmp; tar -xvf /tmp/picolisp.tgz
- cd /tmp/picoLisp/src && make && cd ../src64 && make
- cd /tmp; tar -xf /tmp/picolisp.tgz
- cd /tmp/picoLisp/src64 && make

script:
- cd ${TRAVIS_BUILD_DIR} && /tmp/picoLisp/pil test.l
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" "0.3.1")
("version" "0.4.0")
("summary" "Unit Testing framework for PicoLisp")
("source" "https://github.com/aw/picolisp-unit.git")
("author" "Alexander Williams")
Expand Down
3 changes: 3 additions & 0 deletions unit.l
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

(when symbols (symbols 'unit 'pico))

(local MODULE_INFO *Colours *My_tests_are_order_dependent *Passed *Failed *Counter)
(local colour randomize plural? passed failed print-report report-failed print-error print-expected print-got exit-gracefully)

(load (pack (car (file)) "module.l"))

(setq
Expand Down

0 comments on commit 945d8bd

Please sign in to comment.