X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fcoroutine%2F_info;h=07e4b967e72777752a393eacafe32d7988afd12c;hb=17a81baf84a9c8f89603173be3169a0a2017702d;hp=a99629c91172476d9134c746a7666f98bf7ee0cb;hpb=1ddc881f084e2527ad9e3541807469920ac299b4;p=ccan diff --git a/ccan/coroutine/_info b/ccan/coroutine/_info index a99629c9..07e4b967 100644 --- a/ccan/coroutine/_info +++ b/ccan/coroutine/_info @@ -14,10 +14,6 @@ * * Author: David Gibson * License: LGPL (v2.1 or any later version) - * - * Ccanlint: - * // Context switching really confuses valgrind - * tests_pass_valgrind FAIL */ int main(int argc, char *argv[]) { @@ -40,5 +36,11 @@ int main(int argc, char *argv[]) return 0; } + if (strcmp(argv[1], "ccanlint") == 0) { + /* Context switching really confuses valgrind */ + printf("tests_pass_valgrind FAIL\n"); + return 0; + } + return 1; }