From d9c5e52ce26b3bafd296e46c0908e23cd145c0d2 Mon Sep 17 00:00:00 2001 From: goksu <25721443+goeksu@users.noreply.github.com> Date: Thu, 21 Sep 2023 14:00:03 +0300 Subject: [PATCH] [tohtml.py] Converted links to relative OBJ_DIR path were given as argument to tohtml.py. Cleared. All links are relative now --- builds/testing.mk | 2 +- src/tools/ftbench/src/tohtml.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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