Lines Matching full:env
9 Import("env", "malloc_env")
20 env.Command("alltypes_static.proto", "#alltypes/alltypes.proto",
21 lambda target, source, env: set_pkgname(source[0], target[0], 'alltypes_static'))
22 env.Command("alltypes_pointer.proto", "#alltypes/alltypes.proto",
23 lambda target, source, env: set_pkgname(source[0], target[0], 'alltypes_pointer'))
25 env.NanopbProto(["alltypes_pointer", "alltypes_pointer.options"])
26 env.NanopbProto(["alltypes_static", "alltypes_static.options"])
29 env.Command("alltypes_proto3_static.proto", "#alltypes_proto3/alltypes.proto",
30 lambda target, source, env: set_pkgname(source[0], target[0], 'alltypes_proto3_static'))
31 env.Command("alltypes_proto3_pointer.proto", "#alltypes_proto3/alltypes.proto",
32 … lambda target, source, env: set_pkgname(source[0], target[0], 'alltypes_proto3_pointer'))
34 env.NanopbProto(["alltypes_proto3_pointer", "alltypes_proto3_pointer.options"])
35 env.NanopbProto(["alltypes_proto3_static", "alltypes_proto3_static.options"])
38 env.Command("alltypes_callback.proto", "#alltypes/alltypes.proto",
39 lambda target, source, env: set_pkgname(source[0], target[0], 'alltypes_callback'))
40 env.NanopbProto(["alltypes_callback", "alltypes_callback.options"])
42 common_objs = [env.Object("random_data.c"),
43 env.Object("validation.c"),
44 env.Object("flakystream.c"),
45 env.Object("alltypes_pointer.pb.c"),
46 env.Object("alltypes_static.pb.c"),
47 env.Object("alltypes_callback.pb.c"),
48 env.Object("alltypes_proto3_pointer.pb.c"),
49 env.Object("alltypes_proto3_static.pb.c"),
62 if env.get('EMBEDDED'):
66 env.RunTest(fuzz, ARGS = [str(seed), str(iterations)])
71 env.RunTest(generate_message, ARGS = [str(seed)])
72 env.RunTest("generate_message.output.fuzzed", [fuzz, "generate_message.output"])
78 def run_against_corpus(target, source, env):
83 if env.has_key("TEST_RUNNER"):
84 args = [env["TEST_RUNNER"]] + args
86 if env.has_key("FUZZTEST_CORPUS_SAMPLESIZE"):
87 samplesize = int(env["FUZZTEST_CORPUS_SAMPLESIZE"])
88 elif env.has_key("EMBEDDED"):
101 maxsize = env.get('CPPDEFINES', {}).get('FUZZTEST_BUFSIZE', 256*1024)
125 env.Command("corpus.zip.fuzzed", [fuzz, "corpus.zip"], run_against_corpus)
126 env.Command("regressions.zip.fuzzed", [fuzz, "regressions.zip"], run_against_corpus)
131 env_proto2_static = env.Clone()
141 env_proto3_static = env.Clone()