SConscript 272 B

1234567891011121314
  1. # Regression test for #453:
  2. # Warning for float conversion with default values.
  3. Import("env")
  4. env2 = env.Clone()
  5. if 'gcc' in env['CC']:
  6. env2.Append(CFLAGS = '-Wconversion')
  7. env2.NanopbProto("test.proto")
  8. testprog = env2.Program(["test.c"])
  9. env2.RunTest(testprog)