Some ubuntu_kernel_selftests.powerpc/pmu tests are not executable
Bug #1951404 reported by
Kleber Sacilotto de Souza
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
In Progress
|
Undecided
|
Po-Hsu Lin |
Bug Description
count_instructi
selftests: per_event_excludes
=======
selftests: Warning: file per_event_excludes is not executable, correct this.
not ok 1..1 selftests: per_event_excludes [FAIL]
These were not being run before, so I guess they are now after the recent changes for splitting the selftests.
tags: | added: 4.1 sru-20211108 ubuntu-kernel-selftests |
tags: |
added: 4.15 bionic removed: 4.1 |
Changed in ubuntu-kernel-tests: | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
status: | New → In Progress |
To post a comment you must log in.
This is because of my experimental fix for bug 1950417
And one interesting fact is that this "per_event_ excludes" was not executed in the past before the split. It looks like this got something with the upstream code as well. As this test is defined as:
TEST_GEN_PROGS := count_instructions l3_bank_test per_event_excludes
in powerpc/ pmu/Makefile and is not being called by any other script inside this powerpc directory: selftests/ powerpc$ grep -r per_event_excludes * TEST_GEN_ PROGS := count_instructions l3_bank_test per_event_excludes $(OUTPUT) /per_event_ excludes: ../utils.c per_event_ excludes event_excludes. c:static int per_event_ excludes( void) event_excludes. c: return test_harness( per_event_ excludes, "per_event_ excludes" ); event_excludes matches
tools/testing/
pmu/Makefile:
pmu/Makefile:
pmu/.gitignore:
pmu/per_
pmu/per_
Binary file pmu/per_