Message ID | 20211119074602.857595-2-lkml@jv-coder.de |
---|---|
State | Accepted |
Headers | show |
Series | Fix or suppress compiler warnings in posix/conformance/interfaces | expand |
Hi! > The script has a strange implementation, that just greps for "main" in the c file. > Based on that it decides if the file should be a test or a run-test. > Other tests in the suite including the main-function from testfrmw/threads_scenarii.c > also use a comment, that supresses the message I think that the testfrmw should be cleaned up and rewritten or even better we should get rid of it completely in the long term... Anyways applied, since this is simple enough.
diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/15-1.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/15-1.c index e8c003fd4..a05db679b 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/15-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/15-1.c @@ -76,6 +76,7 @@ /*********************************** Test cases *****************************************/ /********************************************************************************************/ +/* main is defined in the next file */ #define STD_MAIN #include "../testfrmw/threads_scenarii.c"