Skip to content

Commit

Permalink
tests/readme: simplify test invocations
Browse files Browse the repository at this point in the history
  • Loading branch information
vsergeev committed Dec 13, 2019
1 parent 6ebce91 commit 227e78c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,19 @@
LuaRadio unit tests are run with [busted](http://olivinelabs.com/busted/):

```
busted --lua=luajit --lpath="./?/init.lua" --no-auto-insulate tests/
busted
```

The unit tests can be run with various combinations of external libraries
disabled, controlled by several environment variables. See the [Reference
disabled, controlled by several environment variable flags. See the [Reference
Manual](../docs/0.reference-manual.md#environment-variables) for more
information.

For example, to run all unit tests with only pure Lua implementations and no
external libraries:

```
LUARADIO_DISABLE_VOLK=1 LUARADIO_DISABLE_LIQUID=1 LUARADIO_DISABLE_FFTW3F=1 \
busted --lua=luajit --lpath="./?/init.lua" --no-auto-insulate tests/
LUARADIO_DISABLE_VOLK=1 LUARADIO_DISABLE_LIQUID=1 LUARADIO_DISABLE_FFTW3F=1 busted
```

Most block unit tests are code generated with Python 3, numpy, and scipy. The
Expand Down

0 comments on commit 227e78c

Please sign in to comment.