On 11/27/18 6:55 PM, Dan Rue wrote:
tst_test.c:770: CONF: require libnuma >= 2 and it's development packages
static void do_setup(int argc, char *argv[]) { if (!tst_test) tst_brk(TBROK, "No tests to run");
if (tst_test->tconf_msg) <-- HERE tst_brk(TCONF, "%s", tst_test->tconf_msg);
Initial part of "tst_run_tcases()", likely solving a requirement set in the main struct for the test description.
From the test.. they use this:
#ifdef HAVE_NUMA_V2 ... #else TST_TEST_TCONF("require libnuma >= 2 and it's development packages"); #endif
And it is set from the "configure" file (autogenerated from .in files). So configure is checking existence of headers (possibly trying to compile an abvious code) and defining its existence (or not).