mirror of
https://github.com/google/pebble.git
synced 2025-11-22 07:20:55 -05:00
Import of the watch repository from Pebble
This commit is contained in:
28
tests/libc/math/wscript
Normal file
28
tests/libc/math/wscript
Normal file
@@ -0,0 +1,28 @@
|
||||
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'])
|
||||
Reference in New Issue
Block a user