First stab at autogen.sh
This commit is contained in:
		
							
								
								
									
										1
									
								
								src/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								src/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
tests_autogen.c
 | 
			
		||||
@@ -1,4 +1,5 @@
 | 
			
		||||
#include "mgos.h"
 | 
			
		||||
#include "tests_autogen.h"
 | 
			
		||||
#include <fcntl.h>
 | 
			
		||||
#include <math.h>
 | 
			
		||||
#include <sys/ioctl.h>
 | 
			
		||||
@@ -59,6 +60,10 @@ int main(int argc, char **argv, char **environ) {
 | 
			
		||||
 | 
			
		||||
  i2c_scanner(i2c, true);
 | 
			
		||||
 | 
			
		||||
  tests_create();
 | 
			
		||||
  tests_run();
 | 
			
		||||
  tests_destroy();
 | 
			
		||||
 | 
			
		||||
  return 0;
 | 
			
		||||
  (void)argc;
 | 
			
		||||
  (void)argv;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user