Make travis show the ./tests seed by removing stdout buffering and always cat tests.log after a travis run.
This commit is contained in:
parent
22a6031184
commit
fb424fbba2
@ -94,3 +94,7 @@ script:
|
|||||||
travis_wait 30 valgrind --error-exitcode=42 ./tests 16 &&
|
travis_wait 30 valgrind --error-exitcode=42 ./tests 16 &&
|
||||||
travis_wait 30 valgrind --error-exitcode=42 ./exhaustive_tests;
|
travis_wait 30 valgrind --error-exitcode=42 ./exhaustive_tests;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
after_script:
|
||||||
|
- cat ./tests.log
|
||||||
|
- cat ./exhaustive_tests.log
|
||||||
|
@ -5169,6 +5169,12 @@ void run_ecdsa_openssl(void) {
|
|||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
unsigned char seed16[16] = {0};
|
unsigned char seed16[16] = {0};
|
||||||
unsigned char run32[32] = {0};
|
unsigned char run32[32] = {0};
|
||||||
|
|
||||||
|
/* Disable buffering for stdout to improve reliability of getting
|
||||||
|
* diagnostic information. Happens right at the start of main because
|
||||||
|
* setbuf must be used before any other operation on the stream. */
|
||||||
|
setbuf(stdout, NULL);
|
||||||
|
|
||||||
/* find iteration count */
|
/* find iteration count */
|
||||||
if (argc > 1) {
|
if (argc > 1) {
|
||||||
count = strtol(argv[1], NULL, 0);
|
count = strtol(argv[1], NULL, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user