Commit Graph

1078 Commits

Author SHA1 Message Date
Douglas Stebila
5f3e8ca2d5 Build functional tests and test vectors on Windows continuous integration 2019-02-25 21:40:43 -05:00
Douglas Stebila
a7328f827c Force rebuilding implementation when building test files 2019-02-19 10:02:25 -05:00
Thom Wiggers
d7b2d63a89
Merge pull request #44 from henrydcase/kris/gh33
Enable address and UB sanitizers
2019-02-19 12:37:04 +01:00
eb4d7cb69a Enable address and UB sanitizers
This enables address sanitizer and undefined behaviour sanitizer,
but disables leak detection sanitizer.
It seema there is an issue in qemu that we are using, which prevents
spawning leaksanitizer's tracer thread. But as leak detection is
already done by valgrind on x86 build, this functionality is not
absolute need at the moment.
2019-02-19 10:39:44 +00:00
Douglas Stebila
19ebdd9ab4
Test for symbolic links (#42)
Test for symbolic links
2019-02-18 11:16:00 -05:00
Joost Rijneveld
2fbd02a076
Test for symbolic links
We disallow symbolic links to ensure implementations are standalone
and more portable.
2019-02-18 16:49:44 +01:00
Douglas Stebila
391b9dd6df
Add dependency to header files in Makefile (#41)
Add dependency to header files in Makefile
2019-02-18 10:48:51 -05:00
Douglas Stebila
80c938ec67
Migrate test vector checks to pythonic testing framework (#40)
Migrate test vector checks to pythonic testing framework
2019-02-18 10:38:39 -05:00
Douglas Stebila
d07ce6389d Merge branch 'ds-test-vectors' into ds-make-headers 2019-02-18 10:24:10 -05:00
Douglas Stebila
0eb589ba2f Minor tweaks 2019-02-18 10:23:08 -05:00
Douglas Stebila
5297954630 Add dependency to header files in Makefile 2019-02-18 10:19:07 -05:00
Douglas Stebila
ae05ec9eba Merge branch 'master' into ds-test-vectors 2019-02-18 10:11:38 -05:00
Douglas Stebila
fde02ce2b1 Migrate test vector checks to pythonic testing framework 2019-02-18 10:07:01 -05:00
Joost Rijneveld
17fb1be01c
Ensure .a-file for scheme is up to date for tests 2019-02-18 15:06:46 +01:00
Douglas Stebila
c6dd00c6fa
Allow to easily run individual test modules and add instructions to README (#39)
Allow to easily run individual test modules and add instructions to README
2019-02-18 08:48:13 -05:00
Douglas Stebila
dd15a07940
Run pythonified tests in the containerized alternative architecture tests (#38)
Run pythonified tests in the containerized alternative architecture tests
2019-02-18 08:47:14 -05:00
Thom Wiggers
7168644c40
Also support nose2 2019-02-18 13:51:01 +01:00
Thom Wiggers
f11e4ae745
Add test instructions to README 2019-02-18 13:46:01 +01:00
Thom Wiggers
685098ce33
Allow to run the test modules as python3 module.py 2019-02-18 13:39:11 +01:00
Thom Wiggers
6c715bc823
Add nose to container tests 2019-02-18 13:09:38 +01:00
Thom Wiggers
90071bfb97
Flake8ify python files 2019-02-18 13:04:59 +01:00
Thom Wiggers
78e349f3ba
Fix the test command
I should be less cocky about pushing these things to master and instead to a PR
2019-02-18 12:53:28 +01:00
Thom Wiggers
4f5888c7da
Fix .travis.yml to include rednose on debian builds 2019-02-18 10:22:10 +01:00
Thom Wiggers
f43200f34d
Colourise test output 2019-02-18 10:10:20 +01:00
Douglas Stebila
336ea60a36
common: use fixed size integers (#36)
common: use fixed size integers
2019-02-17 09:22:27 -05:00
312616113a common: use fixed size integers 2019-02-17 13:16:21 +00:00
Douglas Stebila
69401eb697
Move metadata check to Python testing framework (#35)
Move metadata check to Python testing framework
2019-02-16 10:41:31 -05:00
Douglas Stebila
d36626caac Move metadata check to Python testing framework 2019-02-16 10:07:59 -05:00
Thom Wiggers
b2399f1eba
Merge pull request #32 from henrydcase/arm_stop_sanitizers
arm: temporarily disable sanitizers
2019-02-15 10:46:18 +01:00
12d9e038b0 arm: temporarily disable sanitizers 2019-02-15 09:35:38 +00:00
Thom Wiggers
2d09abcdf9
Remove deleted check from ARM builds 2019-02-15 09:59:21 +01:00
Thom Wiggers
bb38e64258
Merge pull request #30 from PQClean/ds-test-namespace
Implement symbol namespace check using new Python testing framework
2019-02-15 09:57:24 +01:00
Thom Wiggers
608aedce56
Merge pull request #26 from henrydcase/ci_arm
adds tests on arm7 and arm8
2019-02-15 09:47:21 +01:00
Thom Wiggers
b5c7f366b0
Merge pull request #29 from PQClean/kybercasts
Kybercasts
2019-02-15 09:45:32 +01:00
e3f23082b8 adds tests on arm 32/64 2019-02-14 22:36:39 +00:00
Peter Schwabe
a96abac2de Removed FIXME comment 2019-02-14 19:16:52 +01:00
Douglas Stebila
0943ae4c6e Remove old make target for symbol namespace check. 2019-02-14 11:53:54 -05:00
Douglas Stebila
ba359473b9 Remove old license check and reduce re-building 2019-02-14 11:36:24 -05:00
Douglas Stebila
e4c368ee49 Implement symbol namespace check using new Python testing framework. 2019-02-14 11:29:49 -05:00
Peter Schwabe
bab1d185cd Made one more cast explicit 2019-02-14 16:18:17 +01:00
Peter Schwabe
393c7a3cde Fixed one cast (added appropriate parantheses) 2019-02-14 16:16:50 +01:00
Peter Schwabe
8b8f27b003 Make various casts in kyber explicit to make MS compiler happy with /W4 2019-02-14 16:14:47 +01:00
Peter Schwabe
81797c2c13 Increased warning level for compilation under Windows to /W4 2019-02-14 16:02:57 +01:00
Peter Schwabe
ff61e1d51d Merge branch 'master' of github.com:PQClean/PQClean 2019-02-14 16:01:41 +01:00
Peter Schwabe
861b45f20b Fixed Makefile 2019-02-14 16:01:30 +01:00
Peter Schwabe
55b63353a8 Fixed Makefile 2019-02-14 16:00:52 +01:00
Douglas Stebila
03a8146f78 Merge branch 'master' of github.com:PQClean/PQClean 2019-02-14 09:58:26 -05:00
Douglas Stebila
cbba955918 Remove kex.c from kyber768 nmake file 2019-02-14 09:58:15 -05:00
Peter Schwabe
9b29d34bf9 Merge branch 'reformat-kyber'
Fixed (hopefully) both formatting and astyle config to not break
formatting again
2019-02-14 15:32:12 +01:00
Peter Schwabe
8e594f3c23 Some cleanup, expanded dependencies, removed two unnecessary files in kyber768 2019-02-14 15:30:55 +01:00