Skip to content

Commit

Permalink
Tests: Allow running selected unit tests only
Browse files Browse the repository at this point in the history
Convenient for local testing. Should not affect CI runs at all.
  • Loading branch information
rdw-software committed Dec 12, 2023
1 parent 14b455c commit 34dd3de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/unit-test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ local specFiles = {
"Tests/Tools/RagnarokTools.spec.lua",
}

local numFailedSections = C_Runtime.RunDetailedTests(specFiles)
local numFailedSections = C_Runtime.RunDetailedTests(#arg > 0 and arg or specFiles)

os.exit(numFailedSections)

0 comments on commit 34dd3de

Please sign in to comment.