numam-dpdk/mk
Ferruh Yigit 64592d97c1 mk: do not build tests by default
Don't build tests with default "make" command.

Require explicit command to build tests because not everybody interested
in running unit tests.

Following changes done in make rules:
"make test-build"  <--- Added
"make test"        <--- Updated functionality (build + run basic tests)

Now "make test" builds all tests and runs unit test (test).

Thanks to dependency resolving, it is possible to call "make test"
directly after config, "make test" will compile dependent components
(lib and drivers, but not apps).

And a new "make test-build" make rule added which will build
tests but not run unit test. "make test-build" has same dependency
resolving features with "make test"

To include "test" folder into makesystem, existing ROOTDIRS- variable
is used instead of hardcoding folder name into makefiles, current usage
of ROOTDIRS* variables are:

ROOTDIRS-y <-- root level folders prepared and compiled by default
ROOTDIRS-  <-- root level folders prepared but not compiled by default

The preparation is required for dependency resolving and cleaning.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2017-02-28 16:04:18 +01:00
..
arch tile: fix build 2017-02-27 16:44:32 +01:00
exec-env mk: prevent overlinking in applications 2016-06-13 16:09:58 +02:00
internal mk: parallelize make config 2017-01-30 19:13:35 +01:00
machine mk: remove default toolchain prefix for ThunderX 2017-01-29 15:48:11 +01:00
target/generic config: remove insecure warnings 2016-12-07 18:34:02 +01:00
toolchain mk: generalize strict alignment warning handling 2017-02-27 16:44:32 +01:00
rte.app.mk mk: move PMD libraries linking to applications 2017-02-10 11:03:27 +01:00
rte.bsdmodule.mk mk: fix bsd module build 2014-11-05 22:18:31 +01:00
rte.combinedlib.mk mk: fix linker script when re-building 2016-03-17 21:53:06 +01:00
rte.cpuflags.mk mk: improve ARM NEON detection 2016-03-24 17:46:58 +01:00
rte.extapp.mk mk, scripts: remove useless blank lines 2015-06-12 11:10:02 +02:00
rte.extlib.mk mk: remove ABI versioning for external library 2015-12-08 02:59:54 +01:00
rte.extobj.mk mk, scripts: remove useless blank lines 2015-06-12 11:10:02 +02:00
rte.extshared.mk mk: allow to build shared libraries 2014-02-26 11:01:13 +01:00
rte.extsubdir.mk mk: introduce rte.extsubdir.mk for projects with subdirectories 2014-05-16 13:28:21 +02:00
rte.gnuconfigure.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.hostapp.mk pmdinfogen: add buildtools and pmdinfogen utility 2016-07-06 22:34:39 +02:00
rte.hostlib.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.install.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.lib.mk ethdev: rename library for consistency 2016-11-06 20:53:23 +01:00
rte.module.mk mk: quote KERNELCC to allow ccache build 2015-10-25 18:39:46 +01:00
rte.obj.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkbuild.mk mk: do not build tests by default 2017-02-28 16:04:18 +01:00
rte.sdkconfig.mk scripts: move to buildtools 2017-01-04 21:17:32 +01:00
rte.sdkdepdirs.mk mk: do not build tests by default 2017-02-28 16:04:18 +01:00
rte.sdkdoc.mk doc: automate examples file list for API 2017-02-08 19:12:08 +01:00
rte.sdkexamples.mk mk: add "make examples" target in root makefile 2014-05-16 16:02:55 +02:00
rte.sdkgcov.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkinstall.mk tools: move to usertools 2017-01-04 21:17:32 +01:00
rte.sdkroot.mk mk: do not build tests by default 2017-02-28 16:04:18 +01:00
rte.sdktest.mk test: move unit tests to separate directory 2017-02-28 16:04:18 +01:00
rte.shared.mk mk: fix link with CC 2014-12-17 22:54:20 +01:00
rte.subdir.mk mk: parallelize make config 2017-01-30 19:13:35 +01:00
rte.vars.mk mk: allow to override devel mode from environment 2016-09-23 18:30:01 +02:00