Skip to content

Commit

Permalink
Document how to build and run the tests in the README.
Browse files Browse the repository at this point in the history
  • Loading branch information
fitzgen committed Oct 1, 2015
1 parent 2bf6fc2 commit e9553c0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ Makefile
.qmake.stash
*.o
*.dylib
tests/tests
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,23 @@ $ qmake
$ make
$ make install
```

## Testing

After having successfully installed the library following the above instructions, run the following commands to build and run the tests:

```sh
$ cd tests/
$ qmake
$ make
$ ./tests
```

If all goes well, you should see something like this:

```
===============================================================================
All tests passed (1705510 assertions in 65 test cases)
```

Note that there is a known intermittent failure in the `FftAdapterTest/ForwardAndBackward` test. Try running the tests a handful of times to determine whether you are hitting the intermittent or have introduced a new bug.

0 comments on commit e9553c0

Please sign in to comment.