Skip to content

Commit 5044676

Browse files
committed
Add a --verbose option to runtests.jl
1 parent fcff991 commit 5044676

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/runtests.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ if PROGRAM_FILE != "" && realpath(PROGRAM_FILE) == @__FILE__
5252
arg_type = Int
5353
default = additional_workers
5454
help = "How many additional workers to launch"
55+
"-v", "--verbose"
56+
action = :store_true
57+
help = "Run the tests with debug logs from Dagger"
5558
end
5659
end
5760

@@ -81,6 +84,10 @@ if PROGRAM_FILE != "" && realpath(PROGRAM_FILE) == @__FILE__
8184
parsed_args["simulate"] && exit(0)
8285

8386
additional_workers = parsed_args["procs"]
87+
88+
if parsed_args["verbose"]
89+
ENV["JULIA_DEBUG"] = "Dagger"
90+
end
8491
else
8592
to_test = all_test_names
8693
@info "Running all tests"

0 commit comments

Comments
 (0)