Import of the watch repository from Pebble

This commit is contained in:
Matthieu Jeanson 2024-12-12 16:43:03 -08:00 committed by Katharine Berry
commit 3b92768480
10334 changed files with 2564465 additions and 0 deletions

28
tests/libc/math/wscript Normal file
View 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'])