|
47 | 47 | from tests.standalone.util import TemporaryTestDirectory, Logger
|
48 | 48 |
|
49 | 49 | MISSING_FILE_WARNING = "The list of installed Python packages does not match the packages specified in the graalpy-maven-plugin configuration"
|
50 |
| -PACKAGES_CHANGED_ERROR = "but packages in graalpy-maven-plugin configuration are different then previously used to generate the lock file" |
| 50 | +PACKAGES_CHANGED_ERROR = "packages and their version constraints in graalpy-maven-plugin configuration are different then previously used to generate the lock file" |
51 | 51 | VENV_UPTODATE = "Virtual environment is up to date with lock file, skipping install"
|
52 | 52 |
|
53 | 53 | def append(file, txt):
|
@@ -133,17 +133,20 @@ def check_gradle_generated_app(self, community):
|
133 | 133 | build_file = os.path.join(target_dir, self.build_file_name)
|
134 | 134 | append(build_file, self.packages_termcolor(community))
|
135 | 135 |
|
136 |
| - gradlew_cmd = util.get_gradle_wrapper(target_dir, self.env) |
137 | 136 | log = Logger()
|
138 | 137 |
|
139 | 138 | # build
|
| 139 | + gradlew_cmd = util.get_gradle_wrapper(target_dir, self.env, verbose=False) |
| 140 | + |
140 | 141 | cmd = gradlew_cmd + ["build"]
|
141 | 142 | out, return_code = util.run_cmd(cmd, self.env, cwd=target_dir, logger=log)
|
142 | 143 | util.check_ouput("BUILD SUCCESS", out, logger=log)
|
143 | 144 | util.check_ouput("Virtual filesystem is deployed to default resources directory", out, logger=log)
|
144 | 145 | util.check_ouput("This can cause conflicts if used with other Java libraries that also deploy GraalPy virtual filesystem", out, logger=log)
|
145 | 146 | self.check_filelist(target_dir, log)
|
146 | 147 |
|
| 148 | + gradlew_cmd = util.get_gradle_wrapper(target_dir, self.env) |
| 149 | + |
147 | 150 | cmd = gradlew_cmd + ["nativeCompile"]
|
148 | 151 | out, return_code = util.run_cmd(cmd, self.env, cwd=target_dir, logger=log)
|
149 | 152 | util.check_ouput("BUILD SUCCESS", out, logger=log)
|
|
0 commit comments