Commit 04f453bb authored by Rusty Russell's avatar Rusty Russell

ccanlint: use -t for --target not --timeout

I use --target far more than --timeout.
parent 03c49198
......@@ -94,7 +94,7 @@ check-%: tools/ccanlint/ccanlint
tools/ccanlint/ccanlint ccan/$*
fastcheck-%: tools/ccanlint/ccanlint
tools/ccanlint/ccanlint -t $(FASTTIMEOUT) ccan/$*
tools/ccanlint/ccanlint --timeout $(FASTTIMEOUT) ccan/$*
# Doesn't test dependencies, doesn't print verbose fail results.
summary-check-%: tools/ccanlint/ccanlint $(OBJFILES)
......
......@@ -733,10 +733,10 @@ int main(int argc, char *argv[])
"simply give one line summary");
opt_register_arg("-x|--exclude <testname>", exclude_test, NULL, NULL,
"exclude <testname> (can be used multiple times)");
opt_register_arg("-t|--timeout <milleseconds>", opt_set_uintval,
opt_register_arg("--timeout <milleseconds>", opt_set_uintval,
NULL, &timeout,
"ignore (terminate) tests that are slower than this");
opt_register_arg("--target <testname>", opt_set_target, NULL, &all,
opt_register_arg("-t|--target <testname>", opt_set_target, NULL, &all,
"only run one test (and its prerequisites)");
opt_register_arg("--compiler <compiler>", opt_set_const_charp,
NULL, &compiler, "set the compiler");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment