Thom Wiggers
58aba49ca2
take out assignment in conditional because windows is not happy about it
2019-02-27 17:08:59 +01:00
Thom Wiggers
ea19211d21
Cast size_t to DWORD on Windows
2019-02-27 17:06:27 +01:00
Thom Wiggers
06955dfc21
Explicit casts in conversions
2019-02-27 16:19:00 +01:00
Thom Wiggers
4d4504ac20
Set windows warnings to W4
2019-02-27 16:00:06 +01:00
Thom Wiggers
6f992f370f
Add sanity check to not just see if the scheme always rebuilds
2019-02-27 15:29:20 +01:00
Thom Wiggers
e29de416fb
Faster check of makefile dependencies
...
We do not actually need to compile the files.
2019-02-27 15:27:41 +01:00
Thom Wiggers
2b381e9a78
Merge pull request #54 from PQClean/no-dynamic-memory-allocations
...
Detect use of dynamic memory allocation functions
2019-02-27 14:24:11 +01:00
Joost Rijneveld
2a1d6a1049
Check box wrt symbolic link check
2019-02-27 14:18:29 +01:00
Joost Rijneveld
72007d3847
Detect use of dynamic memory allocation functions
2019-02-27 13:59:00 +01:00
Joost Rijneveld
0e180fa406
Merge pull request #52 from PQClean/dont_always_make_clean
...
Don't always Make clean; Undoes a7328f8
The intention of this build rule is not to do a clean build, but to make sure the files in the target scheme are up to date when running the tests.
2019-02-27 12:51:02 +01:00
Thom Wiggers
94224fb02c
Don't always Make clean
...
Undoes a7328f827c
2019-02-27 11:29:39 +01:00
Thom Wiggers
8e4747a75d
Merge pull request #51 from PQClean/namespace-incl-implementation
...
Include name of implementation in namespace
2019-02-27 11:18:22 +01:00
Joost Rijneveld
0348ff7a11
Also include implementation namespace in Makefiles
2019-02-27 09:18:38 +01:00
Joost Rijneveld
879574b695
Include name of implementation in namespace
2019-02-27 09:18:38 +01:00
Douglas Stebila
2cb4cae4a4
Wrong source file for building functional tests
2019-02-26 20:46:09 -05:00
Thom Wiggers
b81652e9e4
Merge pull request #48 from PQClean/ds-check-makefile-dependencies
...
Add test to check that every .c / .h file triggers a library rebuild
2019-02-26 07:43:07 +01:00
Douglas Stebila
2db9f22aac
Compute touch timestamps in Python
2019-02-25 23:42:48 -05:00
Douglas Stebila
50801485f0
Add test to check that every .c / .h file triggers a library rebuild
2019-02-25 23:28:37 -05:00
Douglas Stebila
657a516846
Build functional tests and test vectors on Windows continuous integration ( #47 )
...
Build functional tests and test vectors on Windows continuous integration
2019-02-25 21:59:47 -05:00
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