diff options
author | Jarkko Sakkinen <jarkko@kernel.org> | 2021-06-10 11:30:18 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2021-06-15 16:23:09 -0600 |
commit | 235d1c9c63088c33d746a1e7e92e15153b8d1192 (patch) | |
tree | b77ee5282fcb8a91a3b915ecb4b01cf42b5a029d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6a7171b8a0f8e961744d0c46fb7547662a3fca36 (diff) |
selftests/sgx: Migrate to kselftest harness
Migrate to kselftest harness. Use a fixture test with enclave initialized
and de-initialized for each of the existing three tests, in other words:
1. One FIXTURE() for managing the enclave life-cycle.
2. Three TEST_F()'s, one for each test case.
Dump lines of /proc/self/maps matching "sgx" in FIXTURE_SETUP() as this
can be very useful debugging information later on.
Amended commit log:
This migration changes the output of this test. Instead of skipping
the tests if open /dev/sgx_enclave fails, it will run all the tests
and report failures on all of them.
Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions