Prerequisites for the RTC Real-Time Functions Test (Windows Embedded CE 6.0)

1/6/2010

These tests set the time to different values and verify if the time read back matches the time that was set. Some of the test cases will fail if Daylight Savings Time (DST) is enabled on the device. To prevent this, one of the following steps should be taken:

  1. Use an image that does not have Daylight Savings Time support. To do this, make sure that you do not have SYSGEN_TIMESVC_DST set when building the image. For example, you can build an image with this minimum set of SYSGENs (SYSGEN_CORESTRA, SYSGEN_DEVICE, SYSGEN_FMTMSG, SYSGEN_LOCUSA, SYSGEN_SHELL, SYSGEN_STDIOA), which will allow the tests to run.
  2. Disable Daylight Savings Adjustment on the device. You can do this from the Control Panel of the device if supported. For example, to disable Daylight Savings Adjustment on an Enterprise Web Pad image on a CEPC: Go to My Device -> Control Panel -> Date/Time and uncheck Automatically adjust clock for daylight saving.

The following table shows the hardware requirements for the Real-Time Clock (RTC) Tests, including the RTC Real-Time Functions Test.

Requirement Description

Real-time clock (RTC)

Corresponding to the GetSystemTime function

The following table shows the software requirements for the RTC Tests, including the RTC Real-Time Functions Test.

Requirements Description

Tux.exe

Tux test harness, required for executing the test

Kato.dll

Kato logging engine, required for logging test data

OalTestTimers.dll

Library containing the timer tests

The RTC Real-Time Functions Test should be run on an operating system image that does not have SYSGEN_POOM set. This test writes continuously to the RTC, causing calendar notification to run continuously and block the test if SYSGEN_POOM is present.

See Also

Other Resources

RTC Real-Time Functions Test