[PATCH 11/32] selftests: harness: Move teardown conditional into test metadata