From ab007c544603ba2bfb180c8d6903e8710d06e2e0 Mon Sep 17 00:00:00 2001 From: David Srbecky Date: Fri, 21 Oct 2022 17:55:08 +0100 Subject: run-test build: Explicitly call generate-sources Let the scripts explicitly call it rather than making it part of the build system magic. It is much easier now with the context object. Do not spam build log output with non-error messages. Test: Generated artifacts are the same Change-Id: I03b1e317b4f542c27b635ddd9defdd5c0e2bcb3e --- test/968-default-partial-compile-gen/util-src/generate_java.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'test/968-default-partial-compile-gen/util-src/generate_java.py') diff --git a/test/968-default-partial-compile-gen/util-src/generate_java.py b/test/968-default-partial-compile-gen/util-src/generate_java.py index a4a4a4dce0..6027df9ba9 100755 --- a/test/968-default-partial-compile-gen/util-src/generate_java.py +++ b/test/968-default-partial-compile-gen/util-src/generate_java.py @@ -69,7 +69,6 @@ class Compiler: files = list(map(str, files)) cmd = ['sh', '-a', '-e', '--', str(self.javac)] + args + sorted(files) subprocess.check_call(cmd) - print("Compiled {} files".format(len(files))) def execute(self): """ @@ -104,7 +103,6 @@ class Compiler: self.compile_files("-d {outdir} -cp {outdir}".format(outdir = self.classes_dir), files) # Remove these from the set of interfaces to be compiled. ifaces -= tops - print("Finished compiling all files.") return def main(argv): @@ -125,7 +123,6 @@ def main(argv): with expected_txt.open('w') as out: print(mainclass.get_expected(), file=out) - print("Wrote expected output") Compiler(all_files, javac_exec, temp_dir, classes_dir).execute() -- cgit v1.2.3-59-g8ed1b