summaryrefslogtreecommitdiff
path: root/test/968-default-partial-compile-gen/util-src/generate_java.py
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2022-10-21 17:55:08 +0100
committer David Srbecky <dsrbecky@google.com> 2022-10-25 12:46:06 +0000
commitab007c544603ba2bfb180c8d6903e8710d06e2e0 (patch)
treec837a9c58a494b44c52c60a46253348997bbd95a /test/968-default-partial-compile-gen/util-src/generate_java.py
parent1944e26af29bf8b633d318acb86bbce477a7f2a7 (diff)
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
Diffstat (limited to 'test/968-default-partial-compile-gen/util-src/generate_java.py')
-rwxr-xr-xtest/968-default-partial-compile-gen/util-src/generate_java.py3
1 files changed, 0 insertions, 3 deletions
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()