-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* use openssl test harness directly
- Loading branch information
Showing
8 changed files
with
22 additions
and
371 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,4 @@ | ||
# oqs-provider testing | ||
|
||
The tests in this folder are running separately from the OpenSSL test framework but utilize some of its plumbing. | ||
The tests in this folder are running separately from the OpenSSL test framework but utilize some of its plumbing. Therefore the OpenSSL code base, incl. its "test" directory must be locally available. The script `../scripts/fullbuild.sh`ensures this. | ||
|
||
## Patches | ||
|
||
Not the full OpenSSL test infrastructure is embedded such as to allow the tests to run stand-alone. Therefore, some modifications are made to test support code via patches. | ||
|
||
The required patches are generated within this folder and assuming OpenSSL has been cloned into `../openssl` as per the [README](../README.md) using this command | ||
|
||
diff -u ../openssl/test/helpers/ssltestlib.c ssltestlib.c > ssltestlib.c.patch | ||
|
||
As OpenSSL continues to evolve it may be necessary to update these patches. | ||
|
||
## Applying patches | ||
|
||
Patches are applied by running `scripts/preptests.sh` in the oqs-provider main folder (`..`) before building oqs-provider. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.