diff --git a/test_conformance/gl/main.cpp b/test_conformance/gl/main.cpp index 43df1d19..37205589 100644 --- a/test_conformance/gl/main.cpp +++ b/test_conformance/gl/main.cpp @@ -200,7 +200,7 @@ int main(int argc, const char *argv[]) } } - if (argc > 1 && strcmp(argv[1], "-list") == 0) + if (gListTests) { log_info("Available 2.x tests:\n"); for (int i = 0; i < test_num; i++)