diff --git a/builds/testing.mk b/builds/testing.mk index 1aa34b2ec..412d8b4ff 100644 --- a/builds/testing.mk +++ b/builds/testing.mk @@ -157,7 +157,7 @@ benchmark: $(FTBENCH_BIN) $(BENCHMARK_DIR) copy-html-script printf "\nProcessing %d%%..." $$percent; \ $(FTBENCH_BIN) $(FTBENCH_FLAG) "$$font" > $(BENCHMARK_DIR)$$(basename $$font .ttf).txt; \ done - @$(PYTHON) $(HTMLCREATOR) $(OBJ_DIR) + @$(PYTHON) $(HTMLCREATOR) @echo "Benchmark results created in file: $(HTMLFILE)" #################################################################### diff --git a/src/tools/ftbench/src/tohtml.py b/src/tools/ftbench/src/tohtml.py index c1e50c209..e5749d19c 100644 --- a/src/tools/ftbench/src/tohtml.py +++ b/src/tools/ftbench/src/tohtml.py @@ -30,10 +30,10 @@ CSS_STYLE = """ } """ -OBJ_DIR = sys.argv[1] -BASELINE_DIR = os.path.join(OBJ_DIR, "baseline") -BENCHMARK_DIR = os.path.join(OBJ_DIR, "benchmark") -BENCHMARK_HTML = os.path.join(OBJ_DIR, "benchmark.html") + +BASELINE_DIR = "baseline" +BENCHMARK_DIR = "benchmark" +BENCHMARK_HTML = "benchmark.html" FONT_COUNT = 5