mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Refactor wimpy feature (#2507)
- Make it a common parameter in harness using either '-w', '--wimpy' or 'CL_WIMPY_MODE' environment variable. - Remove all test specific wimpy variable. --------- Co-authored-by: Kévin Petit <kpet@free.fr>
This commit is contained in:
@@ -278,6 +278,16 @@ int runTestHarnessWithCheck(int argc, const char *argv[], int testNum,
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
gWimpyMode |= (getenv("CL_WIMPY_MODE") != nullptr);
|
||||
if (gWimpyMode)
|
||||
{
|
||||
log_info("\n");
|
||||
log_info("**************************\n");
|
||||
log_info("*** Wimpy mode enabled ***\n");
|
||||
log_info("**************************\n");
|
||||
log_info("\n");
|
||||
}
|
||||
|
||||
if ((argc > 1) && (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")))
|
||||
{
|
||||
char *fileName = getenv("CL_CONFORMANCE_RESULTS_FILENAME");
|
||||
|
||||
Reference in New Issue
Block a user