FIXTURE_SETUP(rtc) {
        self->fd = open(rtc_file, O_RDONLY);
-       ASSERT_NE(-1, self->fd);
 }
 
 FIXTURE_TEARDOWN(rtc) {
        int rc;
        struct rtc_time rtc_tm;
 
+       if (self->fd == -1 && errno == ENOENT)
+               SKIP(return, "Skipping test since %s does not exist", rtc_file);
+       ASSERT_NE(-1, self->fd);
+
        /* Read the RTC time/date */
        rc = ioctl(self->fd, RTC_RD_TIME, &rtc_tm);
        ASSERT_NE(-1, rc);
        struct rtc_time rtc_tm;
        time_t start_rtc_read, prev_rtc_read;
 
+       if (self->fd == -1 && errno == ENOENT)
+               SKIP(return, "Skipping test since %s does not exist", rtc_file);
+       ASSERT_NE(-1, self->fd);
+
        TH_LOG("Continuously reading RTC time for %ds (with %dms breaks after every read).",
               READ_LOOP_DURATION_SEC, READ_LOOP_SLEEP_MS);
 
        int i, rc, irq = 0;
        unsigned long data;
 
+       if (self->fd == -1 && errno == ENOENT)
+               SKIP(return, "Skipping test since %s does not exist", rtc_file);
+       ASSERT_NE(-1, self->fd);
+
        /* Turn on update interrupts */
        rc = ioctl(self->fd, RTC_UIE_ON, 0);
        if (rc == -1) {
        int i, rc, irq = 0;
        unsigned long data;
 
+       if (self->fd == -1 && errno == ENOENT)
+               SKIP(return, "Skipping test since %s does not exist", rtc_file);
+       ASSERT_NE(-1, self->fd);
+
        /* Turn on update interrupts */
        rc = ioctl(self->fd, RTC_UIE_ON, 0);
        if (rc == -1) {
        time_t secs, new;
        int rc;
 
+       if (self->fd == -1 && errno == ENOENT)
+               SKIP(return, "Skipping test since %s does not exist", rtc_file);
+       ASSERT_NE(-1, self->fd);
+
        rc = ioctl(self->fd, RTC_RD_TIME, &tm);
        ASSERT_NE(-1, rc);
 
        time_t secs, new;
        int rc;
 
+       if (self->fd == -1 && errno == ENOENT)
+               SKIP(return, "Skipping test since %s does not exist", rtc_file);
+       ASSERT_NE(-1, self->fd);
+
        rc = ioctl(self->fd, RTC_RD_TIME, &alarm.time);
        ASSERT_NE(-1, rc);
 
        time_t secs, new;
        int rc;
 
+       if (self->fd == -1 && errno == ENOENT)
+               SKIP(return, "Skipping test since %s does not exist", rtc_file);
+       ASSERT_NE(-1, self->fd);
+
        rc = ioctl(self->fd, RTC_RD_TIME, &tm);
        ASSERT_NE(-1, rc);
 
        time_t secs, new;
        int rc;
 
+       if (self->fd == -1 && errno == ENOENT)
+               SKIP(return, "Skipping test since %s does not exist", rtc_file);
+       ASSERT_NE(-1, self->fd);
+
        rc = ioctl(self->fd, RTC_RD_TIME, &alarm.time);
        ASSERT_NE(-1, rc);