History

perf tests: Show python test script in verbose mode

To help figure out where it is getting the binding.

Arnaldo Carvalho de Melo committed 6 years ago

Commit 0fd0f001 parent 6cf4ecf1 file · +1 −0Browse files

Showing the changes to tools/perf/tests/python-use.c (1 of 1 file). Show all

Unified · Split

tools/perf/tests/python-use.c+1−0
@@ -18,6 +18,7 @@ int test__python_use(struct test *test __maybe_unused, int subtest __maybe_unuse · 17 unmodified lines
18 PYTHONPATH, PYTHON, verbose > 0 ? "" : "2> /dev/null") < 0)18 PYTHONPATH, PYTHON, verbose > 0 ? "" : "2> /dev/null") < 0)
19 return -1;19 return -1;
20 20
21 pr_debug("python usage test: \"%s\"\n", cmd);
21 ret = system(cmd) ? -1 : 0;22 ret = system(cmd) ? -1 : 0;
22 free(cmd);23 free(cmd);
23 return ret;24 return ret;