Max Brunsfeld
5927e104c2
Check tree consistency in randomized tests
2019-01-26 22:22:29 -08:00
Max Brunsfeld
233d616ebf
Add random mutation tests
2019-01-25 12:05:21 -08:00
Max Brunsfeld
5c3c1dd0bd
Get logging flags working properly with test script
2019-01-15 13:21:48 -08:00
mpsijm
e0bcb27943
Pipe output of which (hash) to /dev/null
2018-11-20 22:52:44 +01:00
mpsijm
01fef6d81f
Remove -s option from which in test script
...
When I tried running the tests with a debugger, the script failed with the following message:
Illegal option -s
Usage: /usr/bin/which [-a] args
Illegal option -s
Usage: /usr/bin/which [-a] args
No debugger found
In case this `-s` flag is needed for other OSes than Linux (I'm working with Ubuntu 18.04), this could be based on a `uname` check (like on line 44).
2018-11-20 10:33:48 +01:00
Max Brunsfeld
1eafcf0ba7
Make test script generate debug graphs even when assertions fail
2018-04-06 16:11:01 -07:00
Max Brunsfeld
60eacbc7ff
Delete .dot file after successfully generating SVGs
2018-03-05 09:35:12 -08:00
Max Brunsfeld
777aca25c8
Fix errors in test script
2017-12-28 15:49:34 -08:00
Max Brunsfeld
6304a3bcd1
Make it easier to run tests with debug graphs
2017-12-28 12:41:23 -08:00
Max Brunsfeld
a64db98218
Rename lib.sh -> scan-build.sh
2017-07-06 10:32:41 -07:00
Max Brunsfeld
ca4db76bb1
Override LINK to call clang++ w/ -fsanitize=address in test script
...
Signed-off-by: Philip Turnbull <philipturnbull@github.com>
2017-06-27 15:44:58 -07:00
Phil Turnbull
1b9e78add2
Fix formatting and use '-n'
2017-06-19 10:24:08 -04:00
Phil Turnbull
ee3caafe7b
Use -j2 on the CI boxes
...
The travis-ci trusty container has two cores.
2017-06-16 15:16:40 -04:00
Phil Turnbull
97cdd8b738
Run scan-build during CI
...
This bumps the travis-ci container image to Trusty so that we have a version of
clang that includes proper support for C++14.
2017-06-16 15:16:29 -04:00
Max Brunsfeld
6dc0ff359d
Rename spec -> test
...
'Test' is a lot more straightforward of a name.
2017-03-09 20:40:01 -08:00
Max Brunsfeld
7968da672f
Upgrade bandit test framework
2016-11-18 13:50:34 -08:00
Max Brunsfeld
4106ecda43
Remove logic for recovering from OOM
2016-11-04 09:18:38 -07:00
Max Brunsfeld
883a7c8266
In script/test, style SVG graphs for readability
2016-08-30 13:02:27 -07:00
Max Brunsfeld
04de7cc208
Make script/test -S flag work when there are assertion failures
2016-08-29 12:37:58 -07:00
Max Brunsfeld
607366a422
Add test script flag for piping stderr to dot to make an svg
2016-08-29 11:51:47 -07:00
Max Brunsfeld
2da716d659
Update help message for test script
2016-02-02 12:31:13 -08:00
Max Brunsfeld
b1f4b046f5
Test script - allow valgrind to be run w/o the leak check
2016-01-29 17:03:35 -08:00
Max Brunsfeld
ca6dfb81d9
Run valgrind with full leak check
2016-01-28 21:18:41 -08:00
Max Brunsfeld
1543a6c7b0
Handle allocation failures when instantiating documents
2016-01-18 11:32:10 -08:00
Max Brunsfeld
9cc24f3e28
Make test script fail properly
2016-01-15 11:35:35 -08:00
Max Brunsfeld
0f7dbea9a3
Unify test targets, use externally defined languages as fixtures
2016-01-15 11:19:24 -08:00