mirror of
https://github.com/google/pebble.git
synced 2026-02-18 03:06:52 -05:00
Import of the watch repository from Pebble
This commit is contained in:
14
third_party/nanopb/tests/regression/issue_453/SConscript
vendored
Normal file
14
third_party/nanopb/tests/regression/issue_453/SConscript
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
# Regression test for #453:
|
||||
# Warning for float conversion with default values.
|
||||
|
||||
Import("env")
|
||||
|
||||
env2 = env.Clone()
|
||||
|
||||
if 'gcc' in env['CC']:
|
||||
env2.Append(CFLAGS = '-Wconversion')
|
||||
|
||||
env2.NanopbProto("test.proto")
|
||||
testprog = env2.Program(["test.c"])
|
||||
env2.RunTest(testprog)
|
||||
|
||||
Reference in New Issue
Block a user