From: Cyril H. <ch...@su...> - 2015-09-08 11:48:47
|
Hi! > I try to build LTP with POSIX testsuite and run "make clean". As a result "testcases/open_posix_testsuite" is no cleaned properly. It happens because that directory is filtered by "make" here: > https://github.com/linux-test-project/ltp/blob/master/testcases/Makefile#L33 > > And it's filtered because WITH_OPEN_POSIX_TESTSUITE symbol is not defined when you run "make clean". And it's not defined because "config.mk" and "features.mk" are not included for "clean" target: > https://github.com/linux-test-project/ltp/blob/master/include/mk/env_pre.mk#L98 > > So I've decided to include these configuration files for "clean" target too. I've supposed that "clean" target may be invoked even if those files don't exist so I've used error suppression mechanism. Ah, right, now I understand what this fixes. I will have a look at the patch. -- Cyril Hrubis ch...@su... |