aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/hexloader-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtest/hexloader-test.c')
-rw-r--r--tests/qtest/hexloader-test.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/qtest/hexloader-test.c b/tests/qtest/hexloader-test.c
index 8b7aa2d72d..3023548041 100644
--- a/tests/qtest/hexloader-test.c
+++ b/tests/qtest/hexloader-test.c
@@ -34,12 +34,8 @@ static void hex_loader_test(void)
int main(int argc, char **argv)
{
- int ret;
-
g_test_init(&argc, &argv, NULL);
qtest_add_func("/tmp/hex_loader", hex_loader_test);
- ret = g_test_run();
-
- return ret;
+ return g_test_run();
}