forked from wolfSSL/wolfssl
Merge pull request #1704 from quinnmiller1997/crossworks
Added support for Jenkins testing in Rowley Crossworks
This commit is contained in:
@ -46,18 +46,28 @@ void main(void)
|
|||||||
{
|
{
|
||||||
/* Used for testing, must have a delay so no data is missed while serial is initializing */
|
/* Used for testing, must have a delay so no data is missed while serial is initializing */
|
||||||
#ifdef WOLFSSL_FRDM_K64_JENKINS
|
#ifdef WOLFSSL_FRDM_K64_JENKINS
|
||||||
if(test_num == 2){
|
/* run once */
|
||||||
|
if(test_num == 1){
|
||||||
|
printf("\n&&&&&&&&&&&&& done &&&&&&&&&&&&&&&");
|
||||||
|
delay_us(1000000);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
delay_us(1000000);
|
delay_us(1000000); /* 1 second */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
printf("\nBenchmark Test %d:\n", test_num);
|
printf("\nBenchmark Test %d:\n", test_num);
|
||||||
benchmark_test(&args);
|
benchmark_test(&args);
|
||||||
printf("Benchmark Test %d: Return code %d\n", test_num, args.return_code);
|
printf("Benchmark Test %d: Return code %d\n", test_num, args.return_code);
|
||||||
|
|
||||||
test_num++;
|
test_num++;
|
||||||
} while(args.return_code == 0);
|
} while(args.return_code == 0);
|
||||||
|
|
||||||
|
/*Print this again for redundancy*/
|
||||||
|
#ifdef WOLFSSL_FRDM_K64_JENKINS
|
||||||
|
printf("\n&&&&&&&&&&&&&& done &&&&&&&&&&&&&\n");
|
||||||
|
delay_us(1000000);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -46,15 +46,15 @@ void main(void)
|
|||||||
do
|
do
|
||||||
{
|
{
|
||||||
/* Used for testing, must have a delay so no data is missed while serial is initializing */
|
/* Used for testing, must have a delay so no data is missed while serial is initializing */
|
||||||
#ifdef WOLFSSL_FRDM_K64_JENKINS
|
#ifdef WOLFSSL_FRDM_K64_JENKINS
|
||||||
/* run twice */
|
/* run twice */
|
||||||
if(test_num == 2){
|
if(test_num == 2){
|
||||||
printf("\n&&&&&&&&&&&&& done &&&&&&&&&&&&&&&");
|
printf("\n&&&&&&&&&&&&& done &&&&&&&&&&&&&&&");
|
||||||
delay_us(1000000);
|
delay_us(1000000);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
delay_us(1000000); /* 1 second */
|
delay_us(1000000); /* 1 second */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
printf("\nCrypt Test %d:\n", test_num);
|
printf("\nCrypt Test %d:\n", test_num);
|
||||||
wolfcrypt_test(&args);
|
wolfcrypt_test(&args);
|
||||||
@ -63,6 +63,7 @@ void main(void)
|
|||||||
test_num++;
|
test_num++;
|
||||||
} while(args.return_code == 0);
|
} while(args.return_code == 0);
|
||||||
|
|
||||||
|
/*Print this again for redundancy*/
|
||||||
#ifdef WOLFSSL_FRDM_K64_JENKINS
|
#ifdef WOLFSSL_FRDM_K64_JENKINS
|
||||||
printf("\n&&&&&&&&&&&&&& done &&&&&&&&&&&&&\n");
|
printf("\n&&&&&&&&&&&&&& done &&&&&&&&&&&&&\n");
|
||||||
delay_us(1000000);
|
delay_us(1000000);
|
||||||
|
Reference in New Issue
Block a user