Veronika Molnarova and Arnaldo Carvalho de Melo
241f21be7d
perf test perftool_testsuite: Use absolute paths
...
Test cases from perftool_testsuite are affected by the current
directory where the test are run. For this reason, the test
driver has to change the directory to the base_dir for references to
work correctly.
Utilize absolute paths when sourcing and referencing other scripts so
that the current working directory doesn't impact the test cases.
Reviewed-by: Ian Rogers <irogers@google.com >
Signed-off-by: Jakub Brnak <jbrnak@redhat.com >
Signed-off-by: Michael Petlan <mpetlan@redhat.com >
Signed-off-by: Veronika Molnarova <vmolnaro@redhat.com >
Cc: Namhyung Kim <namhyung@kernel.org >
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com >
2025-10-01 09:44:05 -03:00
Veronika Molnarova and Arnaldo Carvalho de Melo
1ab138febc
perf test perftool_testsuite: Return correct value for skipping
...
In 'perf test', a return value 2 represents that the test case was
skipped. Fix this value for perftool_testsuite test cases to
differentiate between skip and pass values.
Signed-off-by: Veronika Molnarova <vmolnaro@redhat.com >
Cc: Ian Rogers <irogers@google.com >
Cc: Namhyung Kim <namhyung@kernel.org >
Link: https://lore.kernel.org/r/20250113182605.130719-3-vmolnaro@redhat.com
Signed-off-by: Michael Petlan <mpetlan@redhat.com >
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com >
2025-01-14 14:57:20 -03:00
Veronika Molnarova and Arnaldo Carvalho de Melo
5afd6d38cf
perf test perftool_testsuite: Add missing description
...
Properly name the test cases of perftool_testsuite instead of the
license being taken as the name for 'perf test'.
Signed-off-by: Veronika Molnarova <vmolnaro@redhat.com >
Cc: Ian Rogers <irogers@google.com >
Cc: Namhyung Kim <namhyung@kernel.org >
Link: https://lore.kernel.org/r/20250113182605.130719-2-vmolnaro@redhat.com
Signed-off-by: Michael Petlan <mpetlan@redhat.com >
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com >
2025-01-14 14:57:20 -03:00
Veronika Molnarova and Arnaldo Carvalho de Melo
adc1dd00db
perf testsuite probe: Add test for basic perf-probe options
...
Test basic behavior of perf-probe subcommand. It is run as a part of
perftool-testsuite_probe test case.
Signed-off-by: Veronika Molnarova <vmolnaro@redhat.com >
Cc: Athira Rajeev <atrajeev@linux.vnet.ibm.com >
Cc: Ian Rogers <irogers@google.com >
Cc: Masami Hiramatsu <mhiramat@kernel.org >
Cc: Namhyung Kim <namhyung@kernel.org >
Link: https://lore.kernel.org/r/20240702110849.31904-7-vmolnaro@redhat.com
Signed-off-by: Michael Petlan <mpetlan@redhat.com >
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com >
2024-08-28 18:07:21 -03:00