mirror of
https://github.com/godotengine/godot-benchmarks.git
synced 2026-01-06 14:10:20 +03:00
Fix benchmarks not being detected in exported version (#106)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
This commit is contained in:
@@ -44,6 +44,9 @@ class TestID:
|
||||
func test_ids_from_path(path: String) -> Array[TestID]:
|
||||
var rv : Array[TestID] = []
|
||||
|
||||
# Recognize paths in an exported project correctly.
|
||||
path = path.trim_suffix(".remap")
|
||||
|
||||
# Check for runnable tests.
|
||||
for extension in languages.keys():
|
||||
if not path.ends_with(extension):
|
||||
|
||||
Reference in New Issue
Block a user