mirror of https://github.com/google/pebble
				
				
				
			
		
			
				
	
	
		
			29 lines
		
	
	
		
			880 B
		
	
	
	
		
			Python
		
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			880 B
		
	
	
	
		
			Python
		
	
	
	
from waftools.pebble_test import clar
 | 
						|
 | 
						|
def build(ctx):
 | 
						|
    clar(ctx,
 | 
						|
         sources_ant_glob = "src/libc/math/floor.c",
 | 
						|
         test_sources_ant_glob = "test_floor.c",
 | 
						|
         add_includes = ["src/libc"],
 | 
						|
         test_libs=['m'])
 | 
						|
 | 
						|
    clar(ctx,
 | 
						|
         sources_ant_glob = "src/libc/math/log.c",
 | 
						|
         test_sources_ant_glob = "test_log.c",
 | 
						|
         add_includes = ["src/libc"],
 | 
						|
         test_libs=['m'])
 | 
						|
 | 
						|
    clar(ctx,
 | 
						|
         sources_ant_glob = "src/libc/math/pow.c" \
 | 
						|
                            " src/libc/math/scalbn.c" \
 | 
						|
                            " src/libc/math/sqrt.c",
 | 
						|
         test_sources_ant_glob = "test_pow.c",
 | 
						|
         add_includes = ["src/libc"],
 | 
						|
         test_libs=['m'])
 | 
						|
 | 
						|
    clar(ctx,
 | 
						|
         sources_ant_glob = "src/libc/math/round.c",
 | 
						|
         test_sources_ant_glob = "test_round.c",
 | 
						|
         add_includes = ["src/libc"],
 | 
						|
         test_libs=['m'])
 |