mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-28 17:36:36 +00:00
Add helpful check for making repro cases
This commit is contained in:
@@ -330,7 +330,12 @@ Usage: %s Test_Name [test_options]
|
||||
|
||||
std::string testchoice;
|
||||
|
||||
if(argc >= 2)
|
||||
if(tests.size() == 1)
|
||||
{
|
||||
// if there's only one test we've probably hardcoded this for a repro. Launch it
|
||||
testchoice = tests[0].Name;
|
||||
}
|
||||
else if(argc >= 2)
|
||||
{
|
||||
testchoice = argv[1];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user