Skip to content
Commit d9adda7c authored by Alexander Kartashov's avatar Alexander Kartashov Committed by Pavel Emelyanov
Browse files

zdtm: autodetect the target machine v2



Andrew Vagin pointed out that the static testsuite compilation
may run as standalone so the variable ARCH won't be available.

This patch introduces the facility test/zdtm/Makefile.inc
designated to detect the target machine automatically
if the variable ARCH isn't defined. This makefile is supposed
to be included into all test subsuite Makefiles.

Andrew Vagin also pointed out that machine-dependent tests
may be added into non-static subsuites as well so the macro
adding machine-specific headers into CPPFLAGS goes to
the file test/zdtm/Makefile.inc.

Signed-off-by: default avatarAlexander Kartashov <alekskartashov@parallels.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 008457e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment