Skip to content

Commit aaef343

Browse files
committed
Add a --verbose option to runtests.jl
1 parent 7d3712e commit aaef343

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
@@ -51,6 +51,9 @@ if PROGRAM_FILE != "" && realpath(PROGRAM_FILE) == @__FILE__
5151
arg_type = Int
5252
default = additional_workers
5353
help = "How many additional workers to launch"
54+
"-v", "--verbose"
55+
action = :store_true
56+
help = "Run the tests with debug logs from Dagger"
5457
end
5558
end
5659

@@ -80,6 +83,10 @@ if PROGRAM_FILE != "" && realpath(PROGRAM_FILE) == @__FILE__
8083
parsed_args["simulate"] && exit(0)
8184

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

0 commit comments

Comments
 (0)