You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .build/run-unittest.ps1
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,12 @@ try {
19
19
#ctest -C Debug --output-on-failure
20
20
21
21
# Run gtest-generated binary directly, produces more detailed output
22
-
./tests/Debug/unittest.exe
22
+
#
23
+
# NOTE: `$args` is a built-in PowerShell variable that contains all command-line arguments
24
+
# passed to the script (see https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_automatic_variables?view=powershell-7.5#args).
25
+
# We use [splatting](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_splatting?view=powershell-7.5)
26
+
# to pass all received arguments to the test runner.
0 commit comments