summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2018-02-24 15:01:55 +0800
committerJohn Hodge <tpg@ucc.asn.au>2018-02-24 15:01:55 +0800
commit9d63d9d0ad06ce4fe5fbe208ecc296003b2f6c5a (patch)
tree8b3b00b95d3e856bf55103870d64d7e3a5b9b291
parentc0971313795458ed448491e66b71fc995b728a5d (diff)
downloadmrust-9d63d9d0ad06ce4fe5fbe208ecc296003b2f6c5a.tar.gz
testrunner - Add -v flag to increment debug spam
-rw-r--r--tools/testrunner/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/testrunner/main.cpp b/tools/testrunner/main.cpp
index f1905ffd..c0cda242 100644
--- a/tools/testrunner/main.cpp
+++ b/tools/testrunner/main.cpp
@@ -412,6 +412,9 @@ int Options::parse(int argc, const char* argv[])
}
this->output_dir = argv[++i];
break;
+ case 'v':
+ this->debug_level += 1;
+ break;
default:
this->usage_short();