[tohtml.py] Converted links to relative

OBJ_DIR path were given as argument to tohtml.py. Cleared. All links are relative now
gsoc-2023-ahmet-final
goksu 1 year ago
parent 96c4dc98d3
commit d9c5e52ce2
No known key found for this signature in database
  1. 2
      builds/testing.mk
  2. 8
      src/tools/ftbench/src/tohtml.py

@ -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)"
####################################################################

@ -30,10 +30,10 @@ CSS_STYLE = """
}
</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

Loading…
Cancel
Save