On Mon, Dec 07, 2015 at 07:53:14PM +0100, Michael Petlan wrote:
> This commit adds tests for perf annotate tool.
> 
> The structure of the base_something dirs is the following:
> 
> base_something/
>       settings.sh
>               - a script mentioned to be sourced within the tests
>       setup.sh
>               - if present, necessary for setup of the subset
>       test_*.sh
>               - various tests of the subset
>       cleanup.sh
>               - a cleanup script that should remove logs, etc.
> 
> All the tests should be stand-alone.  So if needed, it is enough to
> cd to the proper base_directory and run the test.  Sometimes, setup
> is needed to be run first.
> 
> Example:
> 
> cd testsuite/base_annotate
> ./setup.sh
> ./test_basic.sh

hum, would it be better to allow running separate tests via
perf test suite like:

  $ perf test suite base_annotate

you'd need pass argv,argc into tests functions,
which shouldn't be big deal

jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to