Skip to content

Commit

Permalink
Fix test runner logic
Browse files Browse the repository at this point in the history
  • Loading branch information
gaymeowing committed Aug 13, 2024
1 parent bf6f00f commit 4439ea0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scripts/test_runner.luau
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ local function get_libs_to_test(): { string }
end
local libs, changed_set = diff_reader.libs()

for _, lib in libs do
for lib, depinfo in depgraph do
for _, libdep in depgraph[lib].deep do
if not changed_set[libdep] then
changed_set[libdep] = true
table.insert(libs, libdep)
if changed_set[libdep] then
changed_set[lib] = true
table.insert(libs, lib)
break
end
end
end
Expand Down

0 comments on commit 4439ea0

Please sign in to comment.