[LTP] [PATCH 2/3] openposix: Setup autoconf and fix installation layout
Richard Palethorpe
rpalethorpe@suse.de
Tue Jul 5 08:28:44 CEST 2022
Richard Palethorpe <rpalethorpe@suse.de> writes:
> Hello Joerg,
>
> Joerg Vehlow <lkml@jv-coder.de> writes:
>
>> From: Joerg Vehlow <joerg.vehlow@aox.de>
>>
>> This allows installation of the tests to a different directory
>> than directly under $prefix.
>>
>> Before the layout was:
>> $prefix/bin/{run-*,t0,run-tests.h,Makefile}
>> $prefix/conformance
>> $prefix/functional
>> $prefix/stress
>>
>> with prefix being /opt/openposix_testsuite on linux and
>> /usr/local/openposix_testsuite on other systems
>> OR the value of the env-var $prefix.
>>
>> With this change, the prefix defaults to /opt/openposix_testsuite
>> and can be changed the usual way using configure (./configure ---prefix=foo)
>> Additionally the path of the tests below $prefix can be changed, using
>> configure --with-open-posix-testdir=<foo>. This allows clean installation as
>> part of ltp:
>>
>> $prefix/bin/{run-all-posix-option-group-tests.sh,run-posix-option-group-test.sh}
>> $prefix/$testdir/bin/{run-tests.sh,t0}
>> $prefix/$testdir/conformance
>> $prefix/$testdir/functional
>> $prefix/$testdir/stress
Sorry I don't see the need for this. I can't find the RFC where you may
have explained it, however it should be written here anyway I think.
--
Thank you,
Richard.
More information about the ltp
mailing list