File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -5176,6 +5176,15 @@ void run_ecdsa_openssl(void) {
51765176int  main (int  argc , char  * * argv ) {
51775177    unsigned char   seed16 [16 ] =  {0 };
51785178    unsigned char   run32 [32 ] =  {0 };
5179+ 
5180+     /* Disable buffering for stdout to improve reliability of getting 
5181+      * diagnostic information. Happens right at the start of main because 
5182+      * setbuf must be used before any other operation on the stream. */ 
5183+     setbuf (stdout , NULL );
5184+     /* Also disable buffering for stderr because it's not guaranteed that it's 
5185+      * unbuffered on all systems. */ 
5186+     setbuf (stderr , NULL );
5187+ 
51795188    /* find iteration count */ 
51805189    if  (argc  >  1 ) {
51815190        count  =  strtol (argv [1 ], NULL , 0 );
Original file line number Diff line number Diff line change @@ -35,6 +35,12 @@ pushd buildautotools
3535  $AUTOTOOLS_EXTRA_FLAGS  \
3636  $USE_HOST 
3737
38+ print_logs () {
39+   cat tests.log ||  : 
40+   cat exhaustive_tests.log ||  : 
41+ }
42+ trap  ' print_logs' 
43+ 
3844make -j2 $AUTOTOOLS_TARGET 
3945
4046popd 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments