Commit Graph

76 Commits

Author SHA1 Message Date
Thom Wiggers
45e645c3a7
Fix Makefile.Microsoft_nmake header dependencies 2019-03-06 17:15:23 +01:00
Thom Wiggers
f25824246f
small improvements of reporting 2019-03-06 17:14:36 +01:00
Thom Wiggers
13867ab7b4
Fix tests on Windows 2019-03-06 17:14:36 +01:00
Thom Wiggers
dc1f7e204a
Add returncode support to helper.make 2019-03-06 17:14:35 +01:00
Thom Wiggers
7ad19a30a4
First start of windows test support 2019-03-06 17:14:31 +01:00
Thom Wiggers
07b8c2ebe9
Make all apis use the uint8_t and size_t types 2019-03-05 14:14:47 +01:00
Joost Rijneveld
e74fcbecc0
Merge pull request #66 from PQClean/tidy-python
Move clang-tidy into python-based tests
2019-03-05 11:23:03 +01:00
Thom Wiggers
75be658074
Clean up tests
Modify the tests to no longer construct the classes multiple times and
to have them make use of the new helpers.make() function.
2019-03-04 17:02:46 +01:00
Thom Wiggers
4178768599
Skip clang-tidy if not available 2019-03-01 13:00:43 +01:00
Thom Wiggers
e8c4cf949b
Move clang-tidy into python-based tests 2019-03-01 11:44:22 +01:00
Matthias J. Kannwischer
7a36262f6a
Merge pull request #60 from PQClean/format-check-in-python
Add formatting tests to the python-based testing framework.
2019-03-01 11:27:37 +01:00
Thom Wiggers
facc293a21
Add format tests to python tests 2019-02-28 17:06:44 +01:00
Thom Wiggers
17c9840b57
Move valgrind tests to python-based testing framework 2019-02-28 16:45:15 +01:00
Thom Wiggers
dac7235643
Only skip ASAN on ppc with Clang 2019-02-28 16:44:10 +01:00
Thom Wiggers
53591961c9
Fix supported platform debug print 2019-02-28 16:32:24 +01:00
Thom Wiggers
ea47ab3dad
Fix arm platform names 2019-02-28 16:18:06 +01:00
Thom Wiggers
1180de5d30
Add environment to sanitizers on ARM 2019-02-28 16:17:58 +01:00
Thom Wiggers
73197c6516
Add sanitizers to functests 2019-02-28 16:17:06 +01:00
Thom Wiggers
f3e38dbfb2
Merge pull request #62 from PQClean/functestunalign
Un-align input byte arrays to catch assumptions about data alignment
2019-02-28 15:57:06 +01:00
Joost Rijneveld
da90b709d3
Merge pull request #58 from PQClean/containerized-build
Greatly simplify container builds
2019-02-28 15:56:54 +01:00
Thom Wiggers
3c81f6940d
Stupid typo 2019-02-28 13:42:04 +01:00
Thom Wiggers
7c5e671dac
Should fix the i386 build 2019-02-28 13:42:04 +01:00
Thom Wiggers
bd65daa615
Merge pull request #61 from PQClean/windows-W4
Set windows warnings to W4
2019-02-28 13:24:57 +01:00
Matthias J. Kannwischer
27344bd7ca un-align pointers. Resolves #24 2019-02-28 09:15:09 +01:00
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
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
72007d3847
Detect use of dynamic memory allocation functions 2019-02-27 13:59:00 +01:00
Thom Wiggers
94224fb02c
Don't always Make clean
Undoes a7328f827c
2019-02-27 11:29:39 +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
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
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
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
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
Thom Wiggers
7168644c40
Also support nose2 2019-02-18 13:51: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
90071bfb97
Flake8ify python files 2019-02-18 13:04:59 +01:00