Skip to content

Commit 9e20baa

Browse files
committed
fix print
1 parent 8fcfe4a commit 9e20baa

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

fuzz.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
merge_bin = os.path.join(tool_bin, 'merge')
1717
cost_bin = os.path.join(tool_bin, 'cost')
1818
patch_file = sys.argv[5]
19-
iterations = 100
2019
work_dir = "fuzz"
2120

2221
keywords = [
@@ -181,7 +180,7 @@ def check(recipe_arg, time_budget):
181180
return False
182181

183182
def print_check(name, res):
184-
print("\u274c" if res else "\u2705", name)
183+
print(" ", "\u274c" if res else "\u2705", name)
185184

186185
print("Baseline: https://github.com/llvm/llvm-project/commit/{}".format(os.environ["LLVM_REVISION"]))
187186
print("Patch URL: {}".format(os.environ["COMMIT_URL"]))
@@ -192,18 +191,18 @@ def print_check(name, res):
192191
#scale = 1.0
193192
scale = 0.01
194193
# Correctness check
195-
print_check("Correctness Check", check("correctness", 3600 * scale))
194+
print_check("Correctness", check("correctness", 3600 * scale))
196195

197196
# Generalization check
198197

199198
## Commutative check
200-
print_check("Commutative Check", check("commutative", 300 * scale))
199+
print_check("Commutative op handling", check("commutative", 300 * scale))
201200
## Multi-use check
202-
print_check("Multi-use Check", check("multi-use", 300 * scale))
203-
## Flag preserving check
204-
print_check("Flag-preserving check", check("flag-preserving", 300 * scale))
201+
print_check("Multi-use handling", check("multi-use", 300 * scale))
202+
## Flag preservation check
203+
print_check("Flag preservation", check("flag-preserving", 300 * scale))
205204
## Canonical form check
206-
print_check("Canonical form check", check("canonical-form", 300 * scale))
205+
print_check("Canonical form handling", check("canonical-form", 300 * scale))
207206
## TODO: Vector
208207
## TODO: Drop constraints
209208

0 commit comments

Comments
 (0)