linux/drivers/rtc/lib_test.c

// SPDX-License-Identifier: LGPL-2.1+

#include <kunit/test.h>
#include <linux/rtc.h>

/*
 * Advance a date by one day.
 */
static void advance_date(int *year, int *month, int *mday, int *yday)
{}

/*
 * Check every day in specified number of years interval starting on 1970-01-01
 * against the expected result.
 */
static void rtc_time64_to_tm_test_date_range(struct kunit *test, int years)
{}

/*
 * Checks every day in a 160000 years interval starting on 1970-01-01
 * against the expected result.
 */
static void rtc_time64_to_tm_test_date_range_160000(struct kunit *test)
{}

/*
 * Checks every day in a 1000 years interval starting on 1970-01-01
 * against the expected result.
 */
static void rtc_time64_to_tm_test_date_range_1000(struct kunit *test)
{}

static struct kunit_case rtc_lib_test_cases[] =;

static struct kunit_suite rtc_lib_test_suite =;

kunit_test_suite();

MODULE_DESCRIPTION();
MODULE_LICENSE();