test: drop the SKIP_LIBINPUT_TEST_RUNNER environment variable
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 1 May 2019 04:01:53 +0000 (14:01 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 7 May 2019 04:48:00 +0000 (04:48 +0000)
We have the meson test suites now that we can use to filter which tests to
run, let's use those.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
.gitlab-ci.yml
test/litest.c

index 7002a07..2abde05 100644 (file)
@@ -85,8 +85,6 @@ variables:
   MESON_ARGS: ''
   MESON_TEST_ARGS: '--no-suite=hardware'
 
-  # Until we have a VM with full access, we cannot run the test suite runner
-  SKIP_LIBINPUT_TEST_SUITE_RUNNER: 1
   # udev isn't available/working properly in the containers
   UDEV_NOT_AVAILABLE: 1
   GIT_DEPTH: 1
index f2c1ad4..dfdab10 100644 (file)
@@ -4180,14 +4180,8 @@ main(int argc, char **argv)
        if (mode == LITEST_MODE_ERROR)
                return EXIT_FAILURE;
 
-       /* You don't get to skip the deviceless tests */
-       if (!run_deviceless) {
-               if (getenv("SKIP_LIBINPUT_TEST_SUITE_RUNNER"))
-                       return 77;
-
-               if ((rc = check_device_access()) != 0)
+       if (!run_deviceless && (rc = check_device_access()) != 0)
                        return rc;
-       }
 
        litest_init_test_devices();