Kyle Altendorf
b0fa69bb88
Merge branch 'master' into return_for_test_failed
2019-09-22 10:47:44 -04:00
Kyle Altendorf
84ec6d2c74
Separate test function and main()
...
This allows for inclusion of the test function/file in a program with an
existing main(). This is an isolated piece of #19 .
2019-09-21 16:12:31 -04:00
Kyle Altendorf
8d38d5e6fd
Return non-zero when tests fail
...
This allows for shell scripts to check for success or failure without parsing
the printed output. If the function name is later changed from main() it
will also allow other code calling the tests to also easily check the pass
or fail status.
2019-09-21 10:06:07 -04:00
Kyle Altendorf
b964bf6b1f
Remove unneded #ifndef GETVECTORS check
2019-09-09 16:14:42 -04:00
Kyle Altendorf
baaa8edbfb
Avoid warnings about unused variable fails
...
test.c: In function ‘main’:
test.c:49:9: warning: variable ‘fails’ set but not used [-Wunused-but-set-variable]
int fails = 0;
^~~~~
2019-09-09 16:10:20 -04:00
JP Aumasson
93ca99dcfa
autogen vectors, tweaked hsiphash
2016-12-17 14:14:22 +01:00
JP Aumasson
7ce7f04709
chaskey constants
2016-12-16 17:14:34 +01:00
JP Aumasson
f98f5fedc5
bugfix
2016-12-16 17:04:42 +01:00
JP Aumasson
8388cbe24f
readme
2016-12-16 09:04:05 +01:00