Linux Integrity Measurement development
 help / color / mirror / Atom feed
* [PATCH] doc: correct the build steps for open_posix_testsuite
@ 2024-11-19 10:13 xiubli
  2024-11-29 10:27 ` [LTP] " Cyril Hrubis
  0 siblings, 1 reply; 7+ messages in thread
From: xiubli @ 2024-11-19 10:13 UTC (permalink / raw)
  To: ltp; +Cc: linux-integrity, Xiubo Li

From: Xiubo Li <xiubli@redhat.com>

'./configure' is needed just before generating the Makefiles.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
---
 doc/users/quick_start.rst | 1 +
 1 file changed, 1 insertion(+)

diff --git a/doc/users/quick_start.rst b/doc/users/quick_start.rst
index 1581b1f0c..e80c1c244 100644
--- a/doc/users/quick_start.rst
+++ b/doc/users/quick_start.rst
@@ -54,6 +54,7 @@ generated first:
 .. code-block:: console
 
    $ cd testcases/open_posix_testsuite/
+   $ ./configure
    $ make generate-makefiles
    $ cd conformance/interfaces/foo
    $ make
-- 
2.46.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [LTP] [PATCH] doc: correct the build steps for open_posix_testsuite
  2024-11-19 10:13 [PATCH] doc: correct the build steps for open_posix_testsuite xiubli
@ 2024-11-29 10:27 ` Cyril Hrubis
  2024-12-02  1:00   ` Xiubo Li
       [not found]   ` <a32c6381-8779-4dc5-878b-a46bff6454d6@redhat.com>
  0 siblings, 2 replies; 7+ messages in thread
From: Cyril Hrubis @ 2024-11-29 10:27 UTC (permalink / raw)
  To: xiubli; +Cc: ltp, linux-integrity

Hi!
> './configure' is needed just before generating the Makefiles.
> 
> Signed-off-by: Xiubo Li <xiubli@redhat.com>
> ---
>  doc/users/quick_start.rst | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/doc/users/quick_start.rst b/doc/users/quick_start.rst
> index 1581b1f0c..e80c1c244 100644
> --- a/doc/users/quick_start.rst
> +++ b/doc/users/quick_start.rst
> @@ -54,6 +54,7 @@ generated first:
>  .. code-block:: console
>  
>     $ cd testcases/open_posix_testsuite/
> +   $ ./configure

That should be before the 'cd testcase/...' otherwise good catch, this
is clearly missing there.

>     $ make generate-makefiles
>     $ cd conformance/interfaces/foo
>     $ make
> -- 
> 2.46.0
> 
> 
> -- 
> Mailing list info: https://lists.linux.it/listinfo/ltp

-- 
Cyril Hrubis
chrubis@suse.cz

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LTP] [PATCH] doc: correct the build steps for open_posix_testsuite
  2024-11-29 10:27 ` [LTP] " Cyril Hrubis
@ 2024-12-02  1:00   ` Xiubo Li
       [not found]   ` <a32c6381-8779-4dc5-878b-a46bff6454d6@redhat.com>
  1 sibling, 0 replies; 7+ messages in thread
From: Xiubo Li @ 2024-12-02  1:00 UTC (permalink / raw)
  To: Cyril Hrubis; +Cc: ltp, linux-integrity


On 11/29/24 18:27, Cyril Hrubis wrote:
> Hi!
>> './configure' is needed just before generating the Makefiles.
>>
>> Signed-off-by: Xiubo Li <xiubli@redhat.com>
>> ---
>>   doc/users/quick_start.rst | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/doc/users/quick_start.rst b/doc/users/quick_start.rst
>> index 1581b1f0c..e80c1c244 100644
>> --- a/doc/users/quick_start.rst
>> +++ b/doc/users/quick_start.rst
>> @@ -54,6 +54,7 @@ generated first:
>>   .. code-block:: console
>>   
>>      $ cd testcases/open_posix_testsuite/
>> +   $ ./configure
> That should be before the 'cd testcase/...' otherwise good catch, this
> is clearly missing there.

Good catch.

Fixed it.

Thanks!


>>      $ make generate-makefiles
>>      $ cd conformance/interfaces/foo
>>      $ make
>> -- 
>> 2.46.0
>>
>>
>> -- 
>> Mailing list info: https://lists.linux.it/listinfo/ltp


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LTP] [PATCH] doc: correct the build steps for open_posix_testsuite
       [not found]   ` <a32c6381-8779-4dc5-878b-a46bff6454d6@redhat.com>
@ 2024-12-02 10:43     ` Cyril Hrubis
  2024-12-03  1:23       ` Xiubo Li
  0 siblings, 1 reply; 7+ messages in thread
From: Cyril Hrubis @ 2024-12-02 10:43 UTC (permalink / raw)
  To: Xiubo Li; +Cc: ltp, linux-integrity

Hi!
> Wait.
> 
> I check it again. I think we should do it under 
> 'testcases/open_posix_testsuite/' too ? For me it doesn't work only do 
> this just before 'cd testcase/...'

Ah it's a bit more complicated that I remmebered. There are two ways how
to compile the open posix testsuite.

The top level configure script configures the open posix testsuite, but
you have to pass the --with-open-posix-testsuite flag to it.

Or you can run the open posix configure from the open posix directory.

-- 
Cyril Hrubis
chrubis@suse.cz

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LTP] [PATCH] doc: correct the build steps for open_posix_testsuite
  2024-12-02 10:43     ` Cyril Hrubis
@ 2024-12-03  1:23       ` Xiubo Li
  2024-12-10 12:15         ` Cyril Hrubis
  0 siblings, 1 reply; 7+ messages in thread
From: Xiubo Li @ 2024-12-03  1:23 UTC (permalink / raw)
  To: Cyril Hrubis; +Cc: ltp, linux-integrity


On 12/2/24 18:43, Cyril Hrubis wrote:
> Hi!
>> Wait.
>>
>> I check it again. I think we should do it under
>> 'testcases/open_posix_testsuite/' too ? For me it doesn't work only do
>> this just before 'cd testcase/...'
> Ah it's a bit more complicated that I remmebered. There are two ways how
> to compile the open posix testsuite.
>
> The top level configure script configures the open posix testsuite, but
> you have to pass the --with-open-posix-testsuite flag to it.
>
> Or you can run the open posix configure from the open posix directory.
>
Yeah, this looks better.

Does it make sense to fix the doc about this ? If so I will send the V3.

Thanks

- Xiubo


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LTP] [PATCH] doc: correct the build steps for open_posix_testsuite
  2024-12-03  1:23       ` Xiubo Li
@ 2024-12-10 12:15         ` Cyril Hrubis
  2024-12-11  1:17           ` Xiubo Li
  0 siblings, 1 reply; 7+ messages in thread
From: Cyril Hrubis @ 2024-12-10 12:15 UTC (permalink / raw)
  To: Xiubo Li; +Cc: ltp, linux-integrity

Hi!
> > The top level configure script configures the open posix testsuite, but
> > you have to pass the --with-open-posix-testsuite flag to it.
> >
> > Or you can run the open posix configure from the open posix directory.
> >
> Yeah, this looks better.
> 
> Does it make sense to fix the doc about this ? If so I will send the V3.

Yes please (and sorry for the delayed response).

-- 
Cyril Hrubis
chrubis@suse.cz

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LTP] [PATCH] doc: correct the build steps for open_posix_testsuite
  2024-12-10 12:15         ` Cyril Hrubis
@ 2024-12-11  1:17           ` Xiubo Li
  0 siblings, 0 replies; 7+ messages in thread
From: Xiubo Li @ 2024-12-11  1:17 UTC (permalink / raw)
  To: Cyril Hrubis; +Cc: ltp, linux-integrity


On 12/10/24 20:15, Cyril Hrubis wrote:
> Hi!
>>> The top level configure script configures the open posix testsuite, but
>>> you have to pass the --with-open-posix-testsuite flag to it.
>>>
>>> Or you can run the open posix configure from the open posix directory.
>>>
>> Yeah, this looks better.
>>
>> Does it make sense to fix the doc about this ? If so I will send the V3.
> Yes please (and sorry for the delayed response).
>
Done. Thanks!


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-12-11  1:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-19 10:13 [PATCH] doc: correct the build steps for open_posix_testsuite xiubli
2024-11-29 10:27 ` [LTP] " Cyril Hrubis
2024-12-02  1:00   ` Xiubo Li
     [not found]   ` <a32c6381-8779-4dc5-878b-a46bff6454d6@redhat.com>
2024-12-02 10:43     ` Cyril Hrubis
2024-12-03  1:23       ` Xiubo Li
2024-12-10 12:15         ` Cyril Hrubis
2024-12-11  1:17           ` Xiubo Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox