Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
al3xliu committed Jul 29, 2023
1 parent db2d25c commit 2587474
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion do_like_javac/tools/wpi.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def run(args, javac_commands, jars):
# can more easily remove key and value for release8, below:
if v is not None and v is not True and k.startswith("-add-opens"):
other_args.append("-" + k + "=" + v)
else:
else:
if v is None or v is not False:
other_args.append("-" + k)
if v is not None and v is not True:
Expand Down Expand Up @@ -179,6 +179,7 @@ def run(args, javac_commands, jars):
pprint.pformat(jc)

cmd = iterationCheckerCmd + ["-classpath", cp] + processorArg + other_args + java_files
print("final cmd ===================================: " + cmd);
stats = common.run_cmd(cmd + ["-Ainfer=ajava", "-Awarns"], args, 'wpi')

# process outputs
Expand Down

0 comments on commit 2587474

Please sign in to comment.