diff options
author | Thomas Huth <thuth@redhat.com> | 2019-03-01 17:16:10 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2019-03-06 10:10:36 +0100 |
commit | 9a92aa3b176407ccc7e433ecf2a653433cde1851 (patch) | |
tree | fa49ca30e160a1ba92e1a4bf384a1f540396b690 /tests/ipmi-bt-test.c | |
parent | a3e3b0a7bd5de211a62cdf2d6c12b96d3c403560 (diff) |
tests: Remove (mostly) useless architecture checks
These checks at the beginning of some of the tests are mostly useless:
We only run the tests on x86 anyway, and g_test_message() does not
print anything unless you call g_test_init() first.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Acked-by: John Snow <jsnow@redhat.com>
Acked-by: Corey Minyard <cminyard@mvista.com>
Message-Id: <1551456970-463-1-git-send-email-thuth@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'tests/ipmi-bt-test.c')
-rw-r--r-- | tests/ipmi-bt-test.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/ipmi-bt-test.c b/tests/ipmi-bt-test.c index f4a81b5265..fc4c83b5db 100644 --- a/tests/ipmi-bt-test.c +++ b/tests/ipmi-bt-test.c @@ -400,15 +400,8 @@ static void open_socket(void) int main(int argc, char **argv) { - const char *arch = qtest_get_arch(); int ret; - /* Check architecture */ - if (strcmp(arch, "i386") && strcmp(arch, "x86_64")) { - g_test_message("Skipping test for non-x86\n"); - return 0; - } - open_socket(); /* Run the tests */ |