]> git.ozlabs.org Git - ccan/blobdiff - ccan/rszshm/_info
ccanlint: Move ccanlint test options from _info comments to code
[ccan] / ccan / rszshm / _info
index 2134e671e6ca4a26341655d23b01735db827a3fb..e9122e0b78b76dd0489286c7cbe28f912d154b24 100644 (file)
  *
  * License: APACHE-2
  * Author: Dan Good <dan@dancancode.com>
- *
- * Ccanlint:
- *     // tests use optional macros containing statement expressions
- *     tests_compile_without_features FAIL
  */
 int main(int argc, char *argv[])
 {
@@ -92,5 +88,12 @@ int main(int argc, char *argv[])
        if (strcmp(argv[1], "depends") == 0)
                return 0;
 
+       if (strcmp(argv[1], "ccanlint") == 0) {
+               printf("tests_pass_valgrind FAIL\n");
+               /* tests use optional macros containing statement expressions */
+               printf("tests_compile_without_features FAIL\n");
+               return 0;
+       }
+
        return 1;
 }